Diaries of a non-consensual JavaScript developer, episode 2: my grand scheme to make my code style more readable has failed mildly

From https://gitlab.com/DoctorAjayKumar/sidekick/-/commit/8ac7cd86892882f57f84e5043041a0ed1bd55c95 my grand scheme to make my code style more readable has failed mildly did you know that javascript is retarded Idea: transform async function foo_doo(bar: baz, quux: quuz, buzz: fuzz) : Promise<fuzz> { … } into async function foo_doo(bar : baz, quux : quuz, buzz : fuzz) : Promise<fuzz> { … } I […]

Diaries of a non-consensual JavaScript developer, episode 1: dumdum JS object pointer logic

As part of an elaborate S&M fantasy roleplay, I have over the last handful of months been forced to spend significant time developing a real commercial project in JavaScript and TypeScript. During this period, I have learned quite a lot about both languages and how they work. And I’m going to share what I have […]

Angry dragon problems: when great floods happen, it’s time to overthrow the emperor

Let’s start with debunking the narrative that “dragons are a myth”. The liberal media would have you believe that the Welsh, the Japanese, the Chinese, the Greeks, and even the Eskimos independently invented identical myths about giant fire-breathing reptiles who live inside bodies of water and are the source of chaos in the world. Right. […]

QAnal is exactly Entropist mathematics

The two thinkers who have had the most influence on my thinking are Norman Wildberger and Nassim Nicholas Taleb. In a sense, my two big projects are a reflection of each school of ideas: QAnal is Wildberger’s influence, and Entropism is Taleb’s influence. There’s a rough idea here that I haven’t quite figured out how […]

First steps in rational geometry | FQA 4

This is part of an ongoing series called Foundations of QAnal Outline Today we’re going to talk about very basic points and lines geometry. Specifically we are going to address the following questions: What is a point? What is a line? How do we calculate the line that intersects a pair of distinct points (the […]

Experimental new series: Foundations of QAnal

I may or may not stick with this. I am having horrible writer’s block trying to write this all out in a LaTeX PDF, Erlang, my videos, or in my Revelations. So I’m trying the blog medium. The blog has the “fire and forget” property. So we’ll see. QAnal is my fork of mathematics. QAnal […]

Erlang: How to browse ZX/Erlang source files on Windows

Windows is a profoundly annoying development platform for non-MS languages and a fairly rare deployment target so it doesn’t really get much in the way of attention or tooling. The smoothest Erlang experience on Windows so far is running applications via Vapor (a GUI frontend for ZX), but that depends on applications being developed and […]

Erlang: Protip — `throw` is an antipattern

throw is bad. EEP 0049 is a whole set of bad ideas. Deeply nested case is bad. Using if where it doesn’t belong is bad. try … catch is bad, but there are a handful of builtins and library functions that force you to use it instead of providing an ok | error return (use […]

Erlang: Video tutorial HOWTO on installing Erlang and ZX from scratch on Ubuntu Linux

I’m flattered to find that Dr. Kumar made a tutorial video of how to install Erlang and ZX on a fresh Ubuntu system and check that it is working by playing Erltris. It is sort of a video version of previous instructionals and the ZX quickstart docs all in one place. Big thanks to Dr. […]

Erlang: FizzBuzz in Python vs Erlang — a discussion about conditionals

I’ve had a few discussions with beginners over the last few months that often come to center around not really understanding the conditional branching constructs in Erlang, so I decided to do a video on it using “FizzBuzz” as the central example. The traditional if/else if/else boolean paradigm is quite different from Erlang’s concept of […]