The other day—well, a year ago or so—I was invited to visit CBC’s digital TV studios in Montréal by the SMPTE Montréal. We were shown around, even in the somewhat small control rooms… more →
Harder, Better, Faster, Strongerwrote 2 weeks ago: The other day—well, a year ago or so—I was invited to visit CBC’s digital TV studi … more →
wrote 1 month ago: Python is a programming language that I learnt somewhat recently (something like 2, 3 years ago) and … more →
wrote 5 months ago: Consider the following Code (in Python): def dosomething(a, b): result=0 while (a): if (a&1): re … more →
wrote 5 months ago: There’s always a number of graphics primitives you will be using in all kinds of projects. If … more →
wrote 6 months ago: Last week I showed you the radix sort on simple linked lists. This week, I will present a version of … more →
wrote 7 months ago: It is not uncommon that for large-scale simulations you need a large volume of high-quality (pseudo) … more →
wrote 7 months ago: A few days ago (again at the time of writing, but since I accumulate and schedule posts for a weekly … more →
wrote 7 months ago: Cutting corners is generally thought of as a bad thing. It generally is, I agree. But in some occasi … more →
wrote 7 months ago: My first true computer, a TI 99/4a (which I talk about also in a previous entry), had 16 or 48 KB of … more →
wrote 11 months ago: This week, two “quickies”: rounding up and down to the next power of two, and converting … more →
wrote 1 year ago: In C and C++, the behavior of integer promotions is not the same whether we use signed integers or u … more →
wrote 1 year ago: This week, we’ll be following last week’s post, where we looked at type-safe integer con … more →
wrote 1 year ago: Consider the following short C (or C++) program: const int thingy=123123123123; Depending on your co … more →
wrote 1 year ago: In digital systems, we expect input signals to be noise free, but that is not always realistic. For … more →
wrote 1 year ago: Efficient bit manipulation is often found at the lower levels of many applications, let it be data c … more →
wrote 1 year ago: Modern processors are equipped with sophisticated branch prediction algorithms (the Pentium family, … more →
wrote 1 year ago: Many people have heard of how to swap two values without using temporary storage, using XORs. This i … more →