Category Archives: Uncategorized

Outline of a Computer Program to play Tic Tac Toe

Tic-tac-toe (American English), noughts and crosses (Commonwealth English and British English), or Xs and Os/“X’y O’sies” (Ireland), is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Iterative Binary Tree Traversal

Traversal of binary trees has a simple recursive solution. This blog describes an iterative C++ function derived from a defunctionalised Ocaml solution to the problem. Introduction Consider the following code to compute the height of a binary tree. This code … Continue reading

Posted in Uncategorized | Leave a comment

Why use Latex over Word

Word is an application that helps layout documents. Latex is a similar application except that it is not a Graphical User Interface (GUI) application like word. It is a notation that must be transformed or compiled from markup text to … Continue reading

Posted in Information Processing, Uncategorized | 1 Comment

Arithmetic Division: Old wine in new bottle

Given two positive integers A and B compute the quotient and remainder without using multiplication. This is an old problem except, in optimising the algorithm we derive the long division method taught in primary school. Problem: Given A and B, … Continue reading

Posted in Uncategorized | Leave a comment

Liberty in the Digital Age

The rapid spread of “fake news” and “alternative facts” on the internet is a threat to freedom as such data can be used to manipulate people into doing things that are not in their best interests. In a recent article … Continue reading

Posted in Computers in Society, Uncategorized | Leave a comment

Security and Freedom in Cyberspace: The case for government intervention

Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. — Benjamin Franklin There has been a recent spate of cybersecurity breaches, such as the one at Yahoo! and more recently the … Continue reading

Posted in Uncategorized | Leave a comment

The Gig Economy

The nature of paid work is changing. Part-time jobs are increasing and full time jobs are on the decline. Temporary jobs like driving for Uber or Lyft are becoming popular. In this blog we discuss what constitutes a gig economy. … Continue reading

Posted in Uncategorized | Leave a comment

No Silver Bullets: A Modern Perspective

“No Silver Bullets” is an oft-cited paper in the annals of Software Engineering. While technology has changed significantly since the paper was first published there are still some pearls of wisdom that are worth reflecting upon. Tracing to Aristotle, Brooks … Continue reading

Posted in Uncategorized | Leave a comment

Protected Health Information incident at Massachusetts General Hospital

Introduction 22,000 pateints’ personal records including names, Social Security Numbers (SSN), and dates of birth were exposed at Massachusetts General Hospital (HIPAA Journal, 2016). In addition some appointment details were also exposed. The incident came to the attention of the … Continue reading

Posted in Uncategorized | 1 Comment

A Quick Note Comparing Two Implementations of Neural Networks in C++

Background MLPack-ANN and Tiny-cnn are two good implementations of neural networks. Their design philosophy is different. This blog compares the two implementations from the point of view of executing a neural network on an embedded device and concludes that although … Continue reading

Posted in Uncategorized | Leave a comment