Patrick the purple dragon

dragoncoder047’s blog

random thoughts about nonrandom things

Articles tagged with programming

Two Down, A Zillion More To Go

By dragoncoder047

I have finally written code that actually compiled and ran on the little ESP32 board I bought, and I hate the blasted thing already.

For starters, the process is slow, annoying, and tedious:

  1. I click UPLOAD, and the Arduino IDE begins compiling by … dumping preferences.
  2. It then has to shuffle …

Langton's Ant Music

By dragoncoder047

Over the weekend I joined the conwaylife.com forums because I am interested in cellular automata. I find watching the mechanisms mesmerizing, and building them exciting.

I also have an interest in music, and so a year or two ago I tried to generate music from cellular automata. I used …


Gah... I broke it!

By dragoncoder047

Last time I had just announced that Phoo was finished. Well, it’s still finished — except for the fact that the online console no longer works. I tried porting the shell code to Phoo, but that ended up breaking the shell!

It was pretty much a line-for-line translation, so I …


Phoo is (mostly) finished

By dragoncoder047

…Gosh, I just realized that I haven’t posted anything in weeks. I really don’t want to fall prey to the obsession of posting everything online. I hope I’m not.

Anyway, I just finished up the first draft of the documentation of Phoo. The generator script is Python …


Pyodide Issues

By dragoncoder047

I am currently working on an online console for Quackery that is using the Pyodide in-browser Python interpreter. The only bad thing is, Python’s input() function blocks until input is provided, which can’t be done in the browser because everything is asynchronous. The only way for it to …


Why I Prefer Python

By dragoncoder047

In developing Phoo today I was unpleasantly presented with yet another reason why I prefer Python. It was when I was working on the new Importer API for loading external modules into Phoo that I accidentally did this:

class Importer { /* stub class */ }
class FetchImporter extends Importer {
    constructor(basePath, fetchOptions = {}) {
        /* no …

Change of Plans

By dragoncoder047

After several days trying to debug the horribly bug-ridden local-echo package for xterm.js, I have had enough. It’s Ioannis’ responsibility to debug his package. I am switching over to another Javascript terminal ptogram I found, jquery.terminal by Jakub T. Jankiewicz. It has built-in readline support, and well …


Airdrop for non-Apple users

By dragoncoder047

It has come up often where I have a file on my parent’s Mac that I need to send to my computer. Any Apple user would probably just use Airdrop. But I use Linux!… So I created a little Python script that allows sending files between computers with the …


Terminal Troubles

By dragoncoder047

I have finally gotten to the point in Phoo’s development that I am ready to set up the web interface.

I chose xterm.js for the terminal interface because I intend for Phoo to be able to be run in Nodejs as well as in the browser, but I …


How I came up with Phoo

By dragoncoder047

Several moths ago I stumbled upon Gordon Charlton’s Quackery language while paroosing Github for something. Usually I don’t pay much attention to obviously irrelevant search results, but this one seemed worth a look. I found Quackery to be a simple stack-based semi-compiled language that makes infrequent use of …


<<First <Previous Page 4 of 4