I/O Multiplexing using epoll and kqueue System Calls

Multiplexing is defined as (via wikipedia): In telecommunications and computer networks, multiplexing (sometimes contracted to muxing) is a method by which multiple analog message signals or digital data streams are combined into one signal over a shared medium. The aim is to share an expensive resource. In essence, this means taking a multitude of inputs and allowing one through at a given time […]

Mapping Arbitrary Points to Arbitrary Words in Text

The Problem One of the major issues I ran into while working on OpenBKZ (an Ebook reader written in C++ using the Qt framework) was converting the (x, y) coordinates that were on the screen the words the highlighted/searched over. I needed this for two (in my opinion) key features: Notes – It is important that […]

Introduction to Linear Regression

Linear Regression is defined as (from wikipedia): An approach for modeling the relationship between a scalar dependent variable y and one or more explanatory variables denoted X. The case of one explanatory variable is called simple linear regression. In this discussion we will be going over simple linear regression (meaning a linear/straight line). You may have seen this before on your graphic […]