Archives
Category Archive
for: ‘Blog’

Referrer spam in statpress

Today I got really fed up with statpress referrer spam, so I decided to implement a dead simple referrer check function into statpress. The function works very similar to the current IP banning, so it wasn’t very difficult to get it to work. If I get angry again, I might create a new statpress Option/Page …

Read More

C for Ruby

In this post, I share the contents of a fun mini-conference I held with my friends titled ‘C and Ruby’. I started with a brief introduction to C, then we looked into the sources of Ruby to try to understand how some basic methods, such as Array#reverse, work and to actually dive in and make (minor) changes to the Ruby core. Then we looked at implementing native extensions for ruby and some of the implications on performance, memory or ease of development.

Read More

F# Discriminated Unions

This is another in a series of posts about my experiences and experiments learning F#. This time I start to look into more involved functional programming elements, starting with discriminated unions and how they are implemented internally. Compared to previous posts, this one will also start to show just how much of the heavy lifting the compiler does for us (which is what in my opinion “more abstract” means: how much of the code is autogenerated and how much of the programming process consists of driving a semi-automatic code generator)

Read More

F# Currying

In this post I’m looking into how partial function application (or currying) works behind the scenes in F#.

Read More

F# Swap

Reading about functional programming, I got curious the other day: one of the canonical examples is swapping the elements in a tuple but what exactly happens internally? After all, whatever language is used, eventually it will be translated to native code. F# is very easy to work with in this sense, because it will be …

Read More

OSGrid in Rei

A look at 3Di Viewer “Rei” logging in to two of OSGrid’s most popular regions: Lbsa Plaza and Wright Plaza.

Read More

Wii Controller Plugin for 3Di Viewer “Rei”

With 3Di Viewer “Rei” it is possible to extend the core viewer with new functionality using plugins. This post introduces a plugin that lets you use a Wiimote to control your avatar in the virtual world. Right in the browser.

Read More

Plugins for Rei

A look at the new plugin system for 3Di Viewer “Rei” that allows developers to introduce new viewer functionality without changing the viewer’s source code.

Read More

Irrlicht.NETCP and 3Di Rei on Linux

[update] I have started a cleaner code line which is now rebased to Irrlicht 1.7.1. Find the codes on [line] Irrlicht.NETCP I’ve spent the last couple of weeks working towards rebasing the now abandoned Irrlicht.NETCP to use the latest Irrlicht released: 1.6. There are multiple reasons to do so, probably the most straightforward is to …

Read More

Intelligent evolution

The two publications appeared practically at the same time and they started an argument of epic proportions within the scientific community. Both scientists claimed nothing less than having solved the mystery of the origin of life – and not less important – of humankind. Two distinctly different, even contradicting theories, two proofs. Both of them …

Read More
Page 1 of 212»

Photos on flickr