Skip to content

Programming

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

447 posts · page 19 of 19

How Your Generation Can End Fraud And Corruption

By designing simple ES2020 programs that pose user questions in function calls—such as determining the humane nature of the three‑strike law or whether to call police—the author envisions a transparent, self‑adjusting decision system that limits damage from liars and can evolve through human input and voting.

Playing With Computers

The post begins by encouraging readers to learn anything they enjoy, then guides them through a practical project: building simple inventions with a Raspberry Pi Zero W kit—soldering a GPIO header, connecting an RGB LED HAT or a single LED, and using basic command‑line commands (cd, ls, etc.) to control the device. It explains how to add peripherals like a camera (via raspistill) and an LCD screen to turn the Pi into a tablet, while noting that many tutorials and pocket references are available online. The author highlights further possibilities such as making time‑lapse photos or even assembling a drone, all to illustrate that inexpensive single‑board computers can power creative inventions from LED toys to complex machines—prompting readers to keep dreaming, inventing, and bringing ideas to life.

Seeing In Parallel: The Colors Of Night

The author describes how science and play blend in his projects, beginning with three inventions—a CD‑based car MP3 player from 1998, a high‑altitude balloon carrying a miniature ship that beams video to a ground trailer for real‑time motion feedback, and a lock‑picking board game built around acrylic padlocks and deadbolts—and then moves on to recent experiments in CPU‑intensive post‑processing of infrared photos (colorizing night shots) and exploring ZeroMQ as a messaging tool to coordinate large camera arrays for slow‑motion, super‑resolution imaging; he concludes that such hands‑on experimentation and self‑education are far more powerful than textbook study.

Get Out Of My Laboratory, Or Invention Is A Teacher

The post explains how great thinkers learn by exploring fundamental phenomena—gravitational, electromagnetic, pendulums—and then following their curiosities. It uses infrared photography with a Raspberry Pi Zero as a concrete example: buying inexpensive IR lamps and cameras, experimenting with ISO, shutter speed, brightness, and contrast, then stacking images to reduce noise. The author suggests building a small lab with a Pi 4, adding monitors, and expanding to networked Pis, Noir cameras, and time‑lapse setups. From there the reader can branch into programming (Node.js, Bash), 3D printing cases for the Pis, servo motor practice, and even constructing a Raspberry‑powered telescope that doubles as a “space laser.” The key idea is taking baby steps—experimenting, documenting results, publishing tutorials—and letting each new project add to a growing body of knowledge and wisdom.

The Programmers

Students create self‑reproducing capsules that spread through space and time, seeding DNA‑based life on planets and asteroids across the cosmos.

Cosmopolis 1.0

The post recounts how a small team built “Cosmopolis,” a lightweight web‑based wiki‑style editor in under 100 lines of Node.js/Express code that uses simple alphanumeric file names to resolve concurrent edits and keep all servers in sync. They added user support with chatbots (Alice and Bob) that could automate tasks—like fetching weather or shipping Amazon groceries—and later let real people take over those bot accounts. The project quickly grew into a live simulation of a city (“Night City”) where bots and users could interact, trade services, and earn money, catching the eye of the United Nations as it evolved toward version 2.0.

The Conjecture

In 2020 a simple web‑based simulation of a city was created to test how easily its institutions could be corrupted; the experiment proved that by modeling officials as bots and letting citizens vote on concrete actions rather than representatives, corruption collapsed and real jobs, tasks, and even prison systems could be automated with transparency. Within a decade the program, run on modest Android tablets, spread to roughly ten thousand cities worldwide, replaced manual city management with a corruption‑resistant scaffold that let people vote on issues, claim bounties for public work, and manage schools and prisons through data‑rich bots. The result was a “virtual metropolis” linking all towns, eliminating joblessness, reducing crime, ending wars, and driving climate action by 2030, while the original programmers were celebrated with Nobel Peace Prizes and monuments—proof that a system built from scratch to resist corruption can transform cities into cooperative, self‑sustaining communities.

Web Pages For Ages

A writer reflects on their long journey of learning web design and programming, starting in 1999 and continually expanding their skills through many languages and tools. They describe how mastering command line basics, color theory, layout, and finishing touches has shaped their craft, noting the value of understanding history even as new techniques emerge. The narrator feels that while much remains to learn—especially about colors and visual effects—the process is manageable, and they’re confident enough to write a book on their experience.

I Could Talk About Them All Day

On a quiet Wednesday, I spent the day programming while reflecting on my bicycle, birds, rain, and a new website domain; after preparing for a ride, I took my bike through spring-scented streets, enjoyed crisp air and singing birds, and stopped at overpasses to scribble code or watch traffic, discovering tiny hidden spots—graffiti, sculptures, abandoned railways—that made the day feel like a gentle adventure.

I Miss Old Programming Languages

In Day 37 of his Quarantine log, the writer reflects on a creative but exhausting week marked by rhyming “seven” with “eleven” and “heaven,” while juggling coding tasks across multiple languages. He’s been experimenting in Bash, missing older Perl syntax (including non‑capturing regexes), and feeling nostalgic for classic CGI and editor tools. The post then shifts to lament the current state of web development: mixing SASS, C++, CSS, async/await, and JavaScript feels chaotic, yet he insists that the “language of the web” is the proper choice for front‑end work. He humorously notes how quickly languages fall behind—Perl was overtaken by newer tech—and ends with a call to keep one’s utilities simple and robust so they remain useful over time.

Computers Are Slow

In this one-page log dated Day Thirty of Quarantine, the narrator recounts a day spent debugging and cleaning up code, feeling both dirty and eventually proud after resolving issues; he describes his slow CPU as compared to a BBQ, attempts to create a rhyming dictionary that turned into an 8‑megabyte web page almost wiping out the internet, and ends by noting a shower and simple wishes.

Peanut Butter and Jelly

A log entry from “Quarantine Fiveever” Day 23 describes a hectic day filled with late‑night programming and breakfast of peanut butter and jelly; the author mixes rhyme and code, noting that their JavaScript array syntax feels like a stanza, and ends by reflecting on having an OK day while wishing everyone pure bliss.

Save The Files

In “Captain’s Log, Eternal, Quarantine, Day Twenty‑Two,” the narrator describes a rainy day with a sky no longer blue, during which sneezes trigger power outages and a transformer outside blows. Frantic but determined, he repeatedly hits CTRL+S to save his work amid thunderous electromagnetic waves that threaten an explosion and loss of current flow; despite the rain slowing him down, he keeps tapping away, emphasizing the importance of saving and backing up files.

Workout Video

I spend the day debugging a Node‑based Sound Machine project—battling octicon bugs in a Sapper static setup—while humorously feeling like Superman and musing about turning my next venture into an audio workout tape.