Showing posts with label concepts. Show all posts
Showing posts with label concepts. Show all posts

Saturday, 23 March 2019

Sunday, 11 December 2016

How to use Haskell arrows (for beginners)

This post is an introduction to Haskell arrows (Control.Arrow), with no rigour at all. All you need is a basic understanding of Haskell, e.g. functors and monads.

Sunday, 18 January 2015

Sunday, 28 December 2014

Generate trees from materialized paths in Jade

Suppose you have the following objects retrieved from a database, in an array. How would you generate a tree in HTML?

Sunday, 5 October 2014

fgets and fputs

In this article we explore the use of fgets and fputs to deal with piped input. Admittedly, it is a rather roundabout way, but it can be useful in specific situations.

Sunday, 28 September 2014

Sunday, 7 September 2014

Introduction to CSS

The ubiquitous Cascading Style Sheets (CSS) is used in web pages to separate content from formatting.

Sunday, 10 August 2014

Return value optimization

RVO is a form of copy elision compiler optimization, where unnecessary copies of objects are eliminated.

Sunday, 1 June 2014

The missing ampersand

The ampersand operator (&) is used to show that a parameter should be passed by reference. What difference does it make?

Sunday, 13 April 2014

What is z-buffering?

Z-buffering, also known as depth buffering, is a computer graphics technique used to determine what objects should ultimately appear on the screen and be visible to the user in the final render.

Sunday, 16 March 2014

What are smart pointers?

Pointers are extremely useful, but they are also the source of hard-to-detect memory leaks. "Smart" pointers attempt to address this problem.

Sunday, 9 February 2014

What are buffer overflows?

To the uninitiated, the jargon "buffer overflow" may invoke images of hackers and bugs and exploits, but this article shows that you can easliy have your own buffer overflow too.