Skip to content

Programming

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

446 posts · page 14 of 19

Programming Interviews Are A Mistake

The author argues that programmers are misunderstood and suggests companies fix this by offering respectful paid internships or salaries for learning and volunteering; he criticizes typical interview questions—like data‑compression puzzles and textbook OOP definitions—that produce buggy, over‑budget software and notes that interviews focus on pay rather than project fit. The article also discusses office layout, the need for personal space and quiet time, and the importance of mentoring, paying well, and giving opportunities to attend hackathons and conferences so that young developers can learn frameworks like SvelteKit and become bright contributors.

Programming Is Not Hard; You Just Need Real Context

The post explains relational database fundamentals by comparing them to spreadsheets and then introduces a simple “accounts‑to‑users” model that uses LEFT JOINs to create one‑to‑many relationships for users, playlists, songs, and ratings. It shows how to structure tables so each includes an accountId for easy querying, and walks through building a JavaScript API where exported functions (like signUp, addSongToPlaylist) wrap SQL queries; these functions are aggregated into an object proxy that serves HTTP/S or WebSocket endpoints, allowing the front‑end (Svelte/Bootstrap) to call named API methods while keeping authentication logic separate. In short, it covers basic relational design, left joins, and a practical way to expose database operations via a modular JavaScript API.

Programming, The Fourth Subject; Or, Start Learning In The Middle With Promising Blank Platforms

The post argues that teaching programming can be made as engaging as a game by using ready‑made, deployable platforms rather than starting from scratch. By beginning with a prebuilt platform that supports payment processing and AI services (for generative art or text), students can immediately experiment—like building a print‑on‑demand children's book service—without first learning loops or functions. This “high‑level game” approach lets learners see concrete results, stay motivated, and progress through successive projects, turning programming into a practical, creative business skill that fits naturally after reading, writing, and arithmetic.

Learning Programming By Writing Cute Little Programs

Programming is described as an adventure that starts with simple function calls and grows through loops, conditionals, and relational databases that structure data like spreadsheets; authentication is handled via cookies or JSON web tokens, while HTTP servers (often built with frameworks such as Koa) expose API endpoints for sign‑up/sign‑in and user‑specific actions. Testing these endpoints is encouraged with tools like cURL, and the evolving UI landscape—Bootstrap, Svelte, and others—is acknowledged, along with WebSockets that enable real‑time server updates. The post concludes by urging readers to write many small programs to grasp each concept, turning experimentation into a learning tool for mastering both back‑end and front‑end development.

Programming Is Really Neat

The author reflects on how exciting programming can be, especially when it solves real problems like creating virtual desktops that run inside web pages and letting them work smoothly even on low‑power machines. They then describe a personal project: an iTunes‑style playlist manager that uses ffmpeg (and sox’s BPM counter) to change song tempos for workout music, allowing the tempo to increase gradually and testing new BPM values such as 165 bpm. The tool started as a bash script, evolved into a Node.js CLI with subcommands that open a browser UI for easier playlist management, and the author contemplates adding dynamic BPM adjustments (e.g., alternating between 140 and 170 bpm) or even turning it into a small business where users submit non‑copyrighted tracks or use a hardware button to speed them up. All of this showcases their enthusiasm for programming and the fun of building custom applications that blend creative ideas with practical functionality.

I Don’t Even; Or, Rebellious Web Design Is Super Fine

Web page design has been a long‑standing activity that can begin simply by creating static pages and then evolve into more dynamic work such as browser plugins that inject robots to crawl sites, auto‑generate RSS feeds, or send news posts to databases for new interfaces—all without the need for a dedicated server and with cost savings. Later programmers can extend these ideas by building templates, themes, and components, even recreating existing apps or designing ones inspired by favorite tools. With AI now capable of generating skeuomorphic textures and designs, this “forbidden design strategy” becomes powerful enough to create phone and desktop applications while keeping the creative process fun and efficient.

An Escape From The Dark Ages Of Programming

The post explores the long‑standing quest for visualizing program structure and argues that existing approaches—directory trees, documentation, static analysis, GraphViz graphs, node‑based systems like Blender’s Geometry Nodes or Node‑RED, and even Apple Automator—all fall short because they either expose low‑level details (if/foreach/filter) or rely on generic high‑level concepts that can’t capture a specific application’s architecture. It proposes instead to build a code‑management system whose UI is explicitly designed around the unique, high‑level constructs of the project at hand, rather than being generic; the interface would act as a concept map, exposing the internal architecture and serving both as documentation and as an editor (e.g., a Bootstrap‑theme builder that lets you drag‑and‑drop dashboards, cards, forms, etc. while automatically generating code behind them).

Simple And Lightweight Code

The author argues that the best way to build robust software is by starting small and staying modular: plan your program as a tree of loosely coupled components, use simple tables for data, and expose a lightweight HTTP API with a GUI client that talks to it. By writing clear, single‑purpose commands (for example, a tiny reverse‑proxy server) and keeping the codebase tidy, you can easily add new features such as a wiki editor or multiple clients while still maintaining a single source of truth for state. The post stresses automation, regular backups, and using nested structures so that each component stays independent yet coordinated—so that the overall system grows naturally from one small program to many, all driven by simple commands and clean architecture.

Quirkedy Quirks

The post explains how to set up a GitHub Pages site with a custom domain, detailing quirks such as needing the repository name to match “username.github.io” for automatic deployment and the 60‑day wait when transferring domains between registrars. It then shifts to describing a lightweight “copy.js” script that copies directories by comparing timestamps and optionally checksums, handling added or removed files efficiently in just a few lines of code, and considers how this pattern could be extended with AI-driven workflows where language models converse and learn from each other to create dynamic environments.

A Game Of Chess With Infinite Complexity; Or, Return To Antwerp

Antwerp is a custom static website generator that reads files from directories, builds an 18 000‑file site, and then uploads it efficiently; its core module “whooptiedoo” orchestrates tasks in series or parallel—series for dependent steps like listing directories before loading poems, parallel for independent steps such as generating art portfolios and code snippets—and this explicit scheduling keeps the code readable and maintainable; compared to generic generators like Jekyll or Hugo, Antwerp’s custom design allows quick upgrades (e.g., splitting an audio‑book into 220‑poem chapters) without relying on external plugins, illustrating how writing your own tool can simplify deployment, improve performance, and keep you sharp and engaged.

Programming Programming; Or, Notes On Making Program Structure More Informative

The post argues that programming can be organized into three levels—plain file‑based editors, literate “WikiWiki” notebooks, and visual block diagrams—and that the middle approach offers the best balance of simplicity and expressiveness. While level 1 keeps things straightforward but lacks structural metadata, and level 3 promises intuitive graphics yet often ends up bloated and hard to maintain, the author claims that a literate WikiWiki style (code first, then documentation) supplies enough semantic information for both human understanding and automated generation. By embedding descriptive metadata in a concise 100‑line framework, developers can use tools like CodeMirror, Cytoscape‑js, or Svelte, and even leverage language‑model AI to fill in code, producing clear, multi‑angle representations that remain editable and deployable as if written in level 1. In short, the author recommends adopting level 2 for its compactness, metadata richness, and compatibility with AI‑assisted code creation.

Dare To Create Magnificent Confusion

The post introduces how everyday symbols in URLs—slashes, question marks, hashes, equals signs, colons and at‑signs—form a language that lets you pass data to a server and keep information on the client side; it then explains how visual programming with Node‑RED uses tiny boxes connected by lines so that the output of one box becomes the input of another, giving examples such as an “http in” node listening on localhost/hello, a template node that can read query parameters like ?name=alice and display “Hello {{payload.name}}”, and an “http response” node that sends the result back to the browser. The article also touches on other visual‑style tools (gmic for image filters, ffmpeg’s filtergraphs) that rely on imagined layers or chains of operations, and ends by encouraging readers to install Node‑RED, use language‑model help to generate code, and discover how easy it is to build programs once you understand these symbolic building blocks.

Programming Is Like Learning To Write, It Is Not Just Another Class

The post argues that conventional schools often fail to truly teach programming, leaving students “tricked out” of practical skills; it proposes self‑directed learning using modern AI tools (like large language models) and pair‑programming assistants, with JavaScript—especially Node.js—as the ideal starting point because it runs both client‑side and server‑side code. By building simple web apps that generate images via AI and let users sell products (t‑shirts, mugs, etc.), one can create a self‑sufficient business, gain practical experience, and avoid the debt of cubicle jobs—thus encouraging independent inventors to take control of their education and career.

Learn Programming Today; Because After Generative Art, Comes Your Generative Software

The post explains how AI-generated artwork can be turned into a scalable business model: by using AI to create small programs and functional visual programming interfaces, entrepreneurs can automate the creation of custom products (phone cases, magnets, etc.) and set up a print‑shop network where creators upload designs, printers ship items, and revenue is split among all parties. It highlights that even with current primitive AI, one can generate code for servers, editors, and games; by mastering programming you enable AI to write fully tested programs that can be sold for more than $5 each, potentially generating a monthly income of around $29 per user and growing into a business empire.

Oh, Oh, Pea; Or, A Strange Look At Object Oriented Programming

The post recounts the author’s early fascination with pixels and step‑by‑step commands for computers, which later evolved into building web pages and interactive windows that respond to button clicks via event handlers. They describe how programming shifted from sequential line execution to modular functions, then to methods inside objects, leading to nested object structures (e.g., rooms containing doors and locations). The author emphasizes organizing related functions into “bags” or classes—such as a File bag—and introduces the concept of a radio object that broadcasts messages so other components can react without direct calls.

The Future Of Internet, Is Self Hosted

The author reflects on the evolving ad industry and proposes that we can regain control over our online experience by using simple, self‑hosted tools—RSS‑like feeds and web scrapers—to feed a local server with content we choose. He describes how a lightweight software agent can crawl the Internet 24/7, filter articles into categories, and deliver updates without relying on AI or third‑party analytics, while still allowing us to opt‑in for ads, notifications, or alerts. Finally he encourages readers to learn Linux on single‑board computers, build their own agents, and take back ownership of their data.

The Marvels Of Potato Programming

I write small holiday scripts with Greasemonkey (or Tampermonkey) to extend browsers, turning UserScripts into a bridge between my web‑based OS and external APIs; after experimenting with simple P5.js sketches like a screensaver I built a lightweight terminal that emits command events onto an OS event bus, letting a single script control many functions via HTTP requests or network messages—an approach that turns a basic “Potato” program into a versatile code base linking browser add‑ons, Android APIs and web services.

Infinite Dreams; Or, Programming Is Special Because It Has No Limits

Each time we start a new program or lesson, we encounter an endless array of possibilities; the post celebrates this infinite creative space, noting that while industry patterns exist, forging your own path can reveal undiscovered routes. It highlights how small changes—like event listeners with wildcard strings or browser file‑upload features that allow directory selection—can unlock powerful automation and new applications. In sum, programming remains a “Wild Wild West” of invention where even the tiniest tweak opens up a universe of possibilities.

Thinking Outside Windows, Where Developer Experience And Power User Experience Is One And The Same

The post proposes a new way to build web‑based virtual desktops by treating full‑screen windows as independent “desktop” environments, rather than just document layouts. It argues that designers should let users hit F11 and enter a power‑user mode where icons launch separate desktop instances, keeping windows open for future work instead of closing them. The author then links this UI concept to functional programming techniques: middleware stacks in Express or Koa can be visualized as connected functions, with each function represented by a window on the virtual desktop and linked by SVG lines. By treating functions as modular components that share context, developers can build programs visually, test them, and allow community‑driven upgrades—all while keeping the overall structure simple and avoiding the clutter of traditional document‑based web design.

The Algorithm

I was navigating an industrial area when I made a right turn that seemed perfect to me as a programmer, yet the car behind followed too quickly and also turned in haste. The whole episode highlighted the contrast between algorithmic precision—where every move is calculated—and ordinary driving habits, where people often make decisions on instinct rather than calculation. As we maneuvered through successive turns, I felt like an NPC learning the right-hand rule while my follower’s timing and confidence reflected a non‑programmer’s approach. The scene ended with us both arriving at the same road after a series of algorithmic turns, leaving me to wave off that we had “tested an algorithm” together.

My Education Is A Spectacular Disaster

After reflecting on his school experiences and self‑education mishaps, the author introduces **Oumuamua**, a lightweight in‑memory database inspired by CouchDB and EventSourcing that stores every revision of each document using GUIDs and alphabetical merging to resolve conflicts. He explains how the project arose from experimenting with Redis, Memcache, RedBeanPHP, and PouchDB, and describes its design: automatic document IDs, versioning without mutexes, and a simple table‑like classification scheme. The post concludes by noting his iterative learning process and how Oumuamua embodies reliable, conflict‑free data persistence for browser applications.

Programming Bytes; Or, The Terrible Mambas Doth Linger In Pairs

In this post the writer likens software bugs to “mambas”—snakes that always strike in pairs or more—and explains how a seemingly small fix can trigger a cascade of new errors. He recalls learning as a child that mambas appear together, then draws the parallel to programming: an end‑user sees a single bug, but for developers it often spawns additional ones when you patch it, just as a first mistake (e.g., a stray colon in YAML) can cause a generator crash and lead to further problems like missing audio files or IPv6 upgrades that require extra code. The post illustrates this cycle with examples of how one correction can rename directories, change timestamps, and ultimately leave the developer “mamba‑ridden,” highlighting the relentless, compounding nature of bugs in software projects.

How To Enhance Your Design or Programming Portfolio

The post proposes creating a simple web‑desktop UI that relies on drag‑and‑drop to manage windows, resize and pan the desktop; this pattern is presented as an easy way for programmers to showcase design skills and add colorful projects to their portfolios, with only under a hundred lines of code needed to share mousedown/mousemove state via functional programming. It highlights how such a lightweight desktop can evolve into an app builder or store—offering users an Automator‑style UI where they can create, sell, and program actions—while designers focus on single‑column layouts that adapt smoothly from large desktop screens to mobile devices. The author concludes that this practical side project provides valuable programming practice and serves as an impressive portfolio showcase for hiring talent.