Claus Witt

Basic Breakout Game with Raylib

I have always wanted to write games. Back in the day that was the whole idea why I wanted to be a programmer. And I have worked myself into a...

Know your assumptions, and test them

In my day to day I very often stumble upon yet another issue in one of our software systems that needs fixing. And most often, the issue is rather apparent...

Much more than ten albums that shaped my taste in music

My wife began this challenge on Facebook. Each day post an image of an album cover of music that shaped your taste in music... The rules states that you should...

A ring buffer for audio samples

At Fliva we work with audio (we have a c++ library that essentially works as a audio sequencer), video (we have a rendering engine which basically works as a scriptable...

Formatting Xml Files with xmllint

I am currently working on a project where I need to parse Open Xml files comming from the Office Suite. As you may already know this involves opening what is...

Using tcpdump to Spy on Webservers

I recently had to debug an error where stuff that should have been returned through a server to server call did not work correctly. Both servers - in development mode at...

How to Read a File in C#

Csharp was probably the first compiled language I really loved. When the first version of .net came out I wrote a small CMS using C# and the new runtime. (A...

How to Read a File in Lua

Reading a file in lua is pretty straight forward.

lines = {}

for line in io.lines(arg[1]) do lines[#lines + 1] = line end

for k,v in pairs(lines) do print(k .. '...

How to Read Program Arguments in Lua

Lua is among the programming languages - that I write about here - I have used the least.

Reading program arguments is as easy as in most languages.

for i=1,#arg,1
do
  print(arg[i])
end

First...

I Wrote a Pong Game with My Son using Cocos Creator

My son (Toke, 7 years old) and I have long talked about making our own computer game.

I have four reasons for doing so.

  • I would like him to know a...