Skip to content

Programming

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

446 posts · page 9 of 19

combineLatest; Or, Please Learn Programming And Build A Visual Programming Language

The author argues that learning programming starts with grasping concepts like RxJS’s combineLatest operator, which merges the latest values from multiple streams once each has emitted at least one value; he explains this through analogies of “pipes” and “marble diagrams,” then suggests visual programming tools can make such flows obvious, but also notes that mastering JavaScript (with Bootstrap, SVG, or Agent‑Model patterns) is essential before relying on AI‑generated operators, hinting that the future of coding will be more about tracking data packets visually than writing text.

Programming Frosty Michigan Nights

The author reflects on winter’s chill and on his own experience as a programmer, weaving poetic images with technical metaphors: he sees coding as building cities of data, where foundations become trees, layers become skyscrapers, and overwork threatens the mind’s architecture. He muses on personal growth, self‑care, and the need to stay centered in order to let creativity bloom, while recalling his own winter adventures and the desire to live deliberately and fully, just as Thoreau urged: “to cut a broad swath and drive life into a corner.”

Learn JavaScript, And Don’t Use Frameworks

I’ve spent years building a lightweight visual programming language that lets users connect boxes with lines, using SVG to draw the connections and a custom zooming UI on top of Bootstrap. The architecture is minimalist—no heavy frameworks, just Web Components, Signals, and functional pipelines—so each node can transform data and pass it along like an actor model. I’ve added AI so users can generate small functions from prompts (e.g., fetching URLs or performing transformations), which then flow through the visual pipeline. The project runs on Node, in the browser, and as a desktop Electron app, and I hope this open‑source tool will rekindle interest in visual programming and make learning JavaScript more intuitive.

JavaScript Is Cute And Flexible

I began programming in various languages—ASP, Perl, PHP, ActionScript, Visual Basic and Java—before discovering that JavaScript was still a relatively slow browser language when I started; I therefore used Perl/PHP on the server while writing client-side code in JavaScript. After experimenting with Rhino on my phone for an interval timer, Node.js’s release prompted me to fully adopt JavaScript: its runtimes (Node.js, Bun, Deno) let me write both front‑end and back‑end code, while Electron or nw.js provide stripped‑down browsers for cross‑platform desktop apps. Mastering JavaScript opens doors to browser extensions, custom HTTP servers, command‑line utilities that can be compiled into executables, mobile apps via React Native, NativeScript or Cordova, and even AI‑assisted development—today’s AI tools can generate working code snippets (e.g., a command‑line parser) on demand, making JavaScript an incredibly versatile and powerful open‑source stack.

Learning Programming, Yas, But Programming Is Also Learning

The post suggests starting your first desktop‑app project with beginner‑friendly tools like Electron Fiddle, p5.js or Node‑RED, all of which let you embed small JavaScript snippets in a visual environment. From there you can build simple templates that grow into portfolio pieces and demo sites, while the act of rewriting those projects repeatedly—adding new techniques, experimenting with signals (reactive variables) and even the actor model—provides the fastest learning path. The author encourages using ECMAScript/JavaScript as your first language, since Electron Fiddle lets you ship cross‑platform desktop apps in a single code base.

JavaScript Wild!

I’ve been exploring a new way to learn JavaScript: asking an AI to explain complex ideas and then have it rewrite them into clean, lightweight code. The AI sometimes comes snarky but always delivers simple versions of things like database sharding, HTTP servers, in‑memory databases, spreadsheet‑style tables, and even diff–patch algorithms for synchronizing object trees with web pages—code that’s easy to read, recursive enough to show DOM manipulation, and so clear it feels almost like a new cookbook. I believe beginner cookbooks should be rewritten this way, letting the AI generate concise recipes and miniature examples that make intermediate code feel less intimidating. My own style builds recursive “bubbling” data trees that emit changes from the root; with just 150 lines of such code one can shift their whole program and fuse ideas like object trees with signals. In short, using an AI to summarize and rewrite concepts into modern JavaScript turns learning a web language into an adventure, reducing complexity by roughly 90 % and making even first‑time programmers feel at home.

My Strange Little Caturday Mornings

I work 15 hours a week and try to get up early on Saturdays so I can spend my free time talking with an AI about programming and memory; the conversation reminded me that neural networks—synapse‑connected neurons—are surprisingly similar to visual programming, where actors are linked by pipes and ports. This analogy helped me design a visual programming system that uses Zoom, Actor, Port, and Pipe web components for its UI, letting functions automatically connect data streams without a central brain; I’ve refactored the code into self‑assembling services and scenes so everything “flocks together,” while experimenting with genetic algorithms as an alternative to back‑propagation. The project has also made me reflect on how divided the world feels today, and that real education—effective knowledge and authentic wisdom—is needed more than ever.

Modern Talking; Or, How AI Is Helping Me Jump Ahead Of Myself

After years of wanting to build a Beowulf cluster, the author finally tackled the task by leveraging an AI assistant to generate JavaScript code for an HTTP master server and workers that handle queue processing and leader election; the AI produced a working prototype within minutes, demonstrating its ability to translate between languages (e.g. XML, Gherkin) and to wrap functional libraries into EventEmitter agents. By integrating these agents into the author’s visual programming language—where code is represented as plain English descriptions—the AI not only generated ready‑to‑run code but also tests, a README, and reusable blocks, showing that simplicity of syntax aids both human understanding and AI generation.

Programmers Don’t Always Publish Their Inventions

I started by sketching an Android app idea—a code editor built with NativeScript that would expose the Android API for on‑the‑go programming, something useful for personal use but unlikely to hit the app store. Then I pivoted to a real project I’ve been working on: a music‑tempo processor that lets me pick a playlist, auto‑tune every track to a target BPM (default 165 bpm), and add a low‑cutoff feature that nudges slower tracks up by 25 % so they don’t sound distorted. I use this tool during bodybuilding sessions, matching the tempo to my lift cadence—slower beats for heavier sets, faster for lighter ones—to keep rhythm and focus sharp. Finally I note how AI could extend this idea into a full workout program that composes music, adjusts BPM, inserts rests, and syncs intervals with lifts, inviting fellow developers to discuss JavaScript, ES6+, NativeScript, and the creative freedom of building free, brilliant tools in the pocket‑dimension of programming.

A Programming Story

Shifting from five platform‑specific apps to one JavaScript codebase that runs both client‑side and server‑side, the author shows how signals and visual programming can simplify development and deployment across all devices.

The Tokenizer and Lexer Story; Or, A Closer Look At XML Shenanigans

The post explains why parsing XML with simple regular expressions works only when identical tags are never nested inside each other: a naive regex that grabs the first closing tag will match wrong when “box” is opened twice before being closed. To handle general XML, the author describes a two‑stage approach—a tokenizer that scans the raw string and emits tokens for opening/closing/self‑closing tags, text, and comments, followed by a lexer that consumes those tokens to build a nested tree (AST) using a stack of open elements; each closing tag pops its matching parent, ensuring proper nesting). The resulting tree can then be used by any application needing the parsed XML structure.

Pardon My Turkey; Or, An XML Thanksgiving

I’m a lifelong coder who enjoys writing small programs in my free time and recently built a compact 50‑line XML parser that demonstrates how easy it is to handle nested tags once you understand the basic pattern of open/close lines and attribute extraction. I then turned to the emerging world of low‑code visual programming languages, arguing they lower the barrier for beginners by letting them connect boxes instead of typing boilerplate, while still supporting powerful concepts such as event emitters, queues, buffers, and automatic routing. By pre‑building UI builders, HTTP libraries, and server proxies into these visual tools, developers can focus on solving problems rather than repeating grunt work—making the whole process faster, more intuitive, and ultimately more impactful for both creators and users.

JavaScript Gods

The post recounts a “rebellion” between SQL and No‑SQL paradigms, arguing that the fixed structure of relational databases is not always optimal and that understanding key‑value stores, periodic syncs, and memory‑mapped disks gives developers deeper insight. It then shifts to advocating the actor model (inspired by Erlang/OTP) as a powerful way to architect programs, especially when combined with hot‑reloading so modules can be updated on the fly without restarting. The author encourages experimenting with concise JavaScript snippets that embody these concepts and suggests extending the same pattern to other languages, celebrating the freedom and creative power of “technology rebels.”

Visual Programming === Future Of Programming

The author reflects on learning visual programming—representing code as interconnected boxes—and argues it’s a step ahead of traditional text-based coding because its structure is inherently self‑documenting and more human‑friendly. He recalls early C‑64 “spaghetti” code, notes that scalability boils down to good organization rather than the medium itself, and believes AI can automate small, well‑defined components (like black‑box functions) so long as their inputs and outputs are clear. The post cites Redux, BDD, and Rust as examples of visual or declarative approaches, while noting that AI will eventually generate and regenerate code faster than humans. He also describes a simple three‑click interface for swapping visual blocks, mentions dual “humanoid”/“human” modes, and concludes by likening GUI components to functional reactive programming where each box emits events rather than being a plain object.

How I Successfully Used AI To Learn Important Programming Embarrassments

The post describes how the writer uses artificial intelligence as a learning tool in two distinct ways: first by requesting “Simple, Bare Bone, Light Weight” snippets that distill large, complex programs into their essential parts—allowing him to grasp systems like blockchain and WebDAV in just a few lines; second by asking for concise one‑liners that reveal subtle language tricks (e.g., comma‑separated payloads in JavaScript arrow functions or using Boolean objects inside map calls). These interactions have given him rapid, deep insights into code architecture and small syntactic tricks he never knew existed, making the author feel both humbled and excited to keep exploring more AI‑generated snippets.

Programming Late; Or, Adventure And Invention

At around 11:48, the author writes a whimsical poem reflecting on a recent coding mishap—a complex state machine and job queue in Node that caused silent failures until an AI suggested fixes. The narrator admits the code looked like “chicken scratch,” lacked proper try/catch blocks, and ultimately relied on AI to help debug but still needed the programmer’s insight to fully understand the structure. The poem ends with a celebratory note that coding is a beautiful, ever‑changing adventure best approached by learning JavaScript and Node, trusting both human ingenuity and AI assistance to keep the programs running smoothly.

Is Programming Fun?

Programming is framed as a machine-centric language that parallels our spoken words, and mastering it today is made easier by AI’s three main sources—video tutorials, text guides, and interactive AI assistance that supplies code snippets and terminology. The writer recommends starting with JavaScript on inexpensive single-board Linux machines, using Node.js boilerplate projects, and experimenting through live code editors like CodePen or split-screen bins to build web experiments and self‑editable wikis. AI can help assemble a “code cookbook,” automate tasks (e.g., a garbage‑collector wrapper that tracks listeners), parse various syntaxes (JSON, GraphQL), and even finish TODOs in visual programming tools. The post concludes that now is the ideal time to learn ECMAScript because AI makes learning faster and more powerful, likening programming to limitless magic or superpower.

Automatic AI Magic; Or, How I Am Experimenting With AI Today

I’m building a visual programming language for busy young people that feels like a computer game but lets them wield powerful agent‑based components—simple nodes connected by input/output ports, much like Linux pipes. I’ll ship an empty framework plus AI (local or commercial) that can generate “genius” code blocks such as circuit breakers, request queues, and checkout agents; users can regenerate these snippets as the AI improves. The core UI will be JavaScript‑based, with a server version that works without the UI, and I’ll add automatic cross‑language generation (Python, PHP, Perl, ASP, etc.) complete with tests so the language outputs stable, secure code in any target language while staying human‑friendly and game‑like.

This Halloween Become A Real Wizard

The post celebrates how artificial intelligence has made learning to code both accessible and free, describing programming as a path to self‑reliance that can lift you out of poverty. It compares coding to reading—a skill that grows your mind like a tree—while highlighting the creativity and automation it offers, tying everything together with an invisible tether. The author stresses daily practice: mastering small tricks each day builds power, so by high school you’re already strong, and AI lets you beat school’s slow rules. Finally, the piece encourages building new things in simple, lightweight ways, reminding us that coding is both art and practical tool for a bright future.

Are Your Programmers Even Programming?

The post traces the evolution of asynchronous programming from simple sequential code to modern patterns such as callbacks, promises, and `await`, highlighting how each step added more abstraction to manage parallel flows. It then introduces the Actor model—actors that receive messages, become functions via a “BECOME” method, and communicate through events like READY before being connected—illustrating its use in visual programming where components must be fully initialized before wiring them together. Finally it expands on higher‑level abstractions: supervisors that queue work for workers (each an actor turned function), enabling parallel execution across CPU cores, automatic retry and recovery when tasks fail, and even human interaction by waiting for user input before marking a job complete. The result is a self‑healing, highly parallel system built from simple actors to sophisticated supervisor/worker pipelines.

Lol! How You Just Became A Powerful Programmer

The post introduces an AI‑powered visual programming framework that lets developers build programs incrementally by having the AI generate small code snippets and orchestrate them with a supervisor‑worker architecture inspired by the actor model. In this system, each “box” represents a program component whose inputs and outputs are connected by pipes, while supervisors manage queues of tasks, handle retries, scale workers across CPU cores or cloud resources, and automatically rebuild parts when data sources change. The visual language provides a GUI with drag‑and‑drop boxes styled after classic dashboards, enabling non‑experts to compose pipelines for tasks such as web scraping, data transformation, or concurrent downloads—all while the AI generates code, monitors execution, and refines the workflow without manual documentation.

A Good Starter Project For Learning JavaScript, Is A Primitive WikiWiki – A Tiny High Level Overview

The post explains how to quickly start building a simple Wiki application using Node.js: store pages as plain text files (e.g., “Main.txt”), use Bootstrap for styling, and render content with an EJS templating engine running on the server or within Express; create two routes—one that reads and displays a file’s contents, another that presents an edit form with a textarea and message field, appending changes to a log file with timestamps. It suggests exploring other template engines like Handlebars or Mustache, highlights the importance of proper string sanitation for security, and even proposes building an extra “honeypot” HTTP server to observe bot traffic for learning purposes. The idea is to iterate on starter projects, making them simpler, more secure, or visually pleasing as you gain experience.

The Supervisor Programming Model

I’m building a free visual programming tool that lets non‑programmers design and run JavaScript programs by dragging “Supervisor” nodes (the actors) onto a canvas and wiring them together; each supervisor contains workers that perform the actual work, and can be auto‑restarted if something fails. The system uses a tweaked Actor Model with EventEmitter‑style ports for input/output, so you can compose a workflow—like scraping a web page, downloading MP3 files, and saving them to disk—by simply connecting three supervisors (Scraping, Download, Storage) and then pasting or auto‑generating worker code (e.g., a Cheerio/Fetch scraper). The whole stack is self‑healing, multi‑core, and has a minimal UI so anyone from kindergarten to retirement can learn JavaScript by building real programs.

The Mouse Whisperer: On Dragging A Cat With A Mouse; Or The DeltaX And Why Of Programming A Mouse

When you want to drag an element (like the cat image in the example), you start by attaching a `mousedown` listener that installs a `mousemove` handler and, when the user releases the button, removes it with a `mouseup`. The `mousemove` event fires on a timer, not for every pixel move, so you calculate the delta between the current cursor position and the previous one (`deltaX = current.x‑prevX`, `deltaY = current.y‑prevY`) and apply those deltas to the element’s CSS coordinates. After moving it you update the previous values for the next tick; if your interface is zoomed or panned, divide the deltas by the scale factor so the movement stays consistent. This relative‑delta approach keeps the dragged object in sync with the cursor without needing absolute positions of the click point on the element.