Author Archives: kristianr

Using multiple interfaces in C

In my previous post I described one way of implementing interfaces and classes in C. Some of my readers may wonder why I added the baseptr member. Why do static int dog_getage(Animal super) { Dog self = (Dog) super->baseptr; return self->age; … Continue reading

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

Using interfaces in C

C is a powerful language and it’s very useful for low level system development. It’s possible to write big programs using only procedural style programming, but abstraction techniques such as object oriented programming are very useful for breaking up dependencies … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

Owncloud

I have been using Dropbox for the last couple of years and it’s a great service. It allows me to share photos, documents and other material across with my friends and across my devices. It also works as a poor … Continue reading

Posted in cloud, dropbox, free, owncloud, privacy | Leave a comment

I have a dream

My dream is to one day write my very own RTS-game ;) Just kidding, only serious. Well, at least now I have completed one step in the process by writing an a-star path finding library :) https://github.com/krumberg/astar

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

Podcastfs now works on OS X

I spent some hours this morning hunting down a few bugs that caused podcastfs not to work under OS X (MacPorts). I also verified that it still compiles and runs fine under Debian testing. https://github.com/krumberg/podcastfs

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

RObject

RObject is a library I wrote a while ago that adds single inheritance object oriented programming support to ANSI C. It’s very small and can be customized and extended if so needed. Features that are not implemented but could easily … Continue reading

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

git: the stupid NOSQL database

There are so many ways to use git. Manage your source code, handle large directories of files with git-annex, run a decentralized wiki or blog. View this talk and get inspired The speaker is the author of Gollum, the wiki … Continue reading

Posted in Uncategorized | Leave a comment

Some git workflows

In this post I will describe some of the git workflows I use. Stay tuned for more of these. Please comment and tell me if I do something really stupid and also please add suggestions on how I can optimize … Continue reading

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

On the importance of backups and distributed version control

I care a lot about my data (and so should you). Because of this I keep all of my code and all my documents under version control using git. Media files are not modified very often which makes version control … Continue reading

Posted in Uncategorized | Leave a comment

Emulate Time Machine using rsync

Many people using a Mac love Time Machine. It’s a simple and (often enough) powerful tool for performing incremental backups with file history. It relies on hard links. For people using GNU/Linux or for Mac users who desire a bit … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 3 Comments