Building Machines In Code – Part 3

This entry is part 3 of 9 in the series Building Machines in Code

Creating the Tiny-P CPU In this post, we will finally write some code. I promise! We’ll be using Python here as one of the most popular languages these days according to the Tiobe index, narrowly beating out C. So, in the interest of reaching as many people as possible I settled on Python for this

Building Machines In Code

This entry is part 1 of 9 in the series Building Machines in Code

Regarding the difference between simulation and emulation:
Not limited to computers I use this distinction:
– A simulation mimics the outward appearance
– An emulation mimics the cause/process.

If you want to convince people that watching television gives you
stomach-aches, you can simulate this by holding your chest/abdomen and
moan.

Implementing Stack Oriented Languages – Part 4

This entry is part 4 of 4 in the series Implementing Stack Oriented Languages

Strings and Variable So far we’ve added lots of stack operations and a couple I/O routines with the KEY and EMIT keywords. At the moment if we wanted to write a simple “Hello World” application we would need to place each character on the stack and pop them off using the EMIT keyword. This is

An Introduction to Graph Algorithms

An Introduction to Graph Algorithms
This entry is part 1 of 1 in the series An Introduction to Graph Algorithms

This post marks the first in a series of posts I will complete on graph algorithms. The code will be python however, I will write the code very verbosely so it will be easily ported to your favorite programming language. I will assume you have some programming skills but are still a novice or that

Implementing Stack Oriented Languages – Part 3

Implementing Stack Oriented Languages – Part 3
This entry is part 3 of 4 in the series Implementing Stack Oriented Languages

Before we move on to adding more features to our language, I think it is high time we combine our disparate parts into a single entity.

Graph Walking Made Easy!

Newbie Developers, especially those who are self-taught, often struggle with graph algorithms. I recently helped a young man on slack get a handle on the subject and I thought I would share my insights with those of you who lack the ability to write breadth-first search (BFS) and depth-first search (DFS) algorithms from scratch. Knowing

Implementing Stack Oriented Languages

This entry is part 1 of 4 in the series Implementing Stack Oriented Languages

TLDR; Warning long post While most software developers have heard of Structural, Imperative, Object-Oriented, Prototypal, and Functional programming paradigms, and the language types that support them. Few have heard of Stack Oriented Programming even though it’s been around for quite some time. while this seemingly obscure programming construct is out of the norm for most

Deploying Flask on ISPConfig/Apache

I was asked the other day to deplay a flask site on an Ubuntu 18.04 server running Apache2 and managed using ISPConfig 3.x. ISPConfig is great for adding sites and managing simple hosting services. However, for developers who often need special access to the console and special features it often seems to get in the