Syntax highlight revisited

Posted on November 30, 1999

The reason I havent posted in a while (which should make me subject to some nasty punishment) is that I have been extremely busy with our game Boingo, which by the way won two categories at this years SGA.

But enough about that. A while ago I talked about syntax highlighting in blogs, but in the end I settled for pastebin. Today I discovered that there has been an update for WP-Syntax, so I decided to try out the update.
Here is some code, with cpp highlight:

#include 

int main ( void )
{
    // do stuff
    // ( … )

    return 1;
}

It actually looks good. Ive always preferred to have the code in the posts themselves rather than in a link.

2 Comments • Filed in Blogging

Hasher.py

Posted on November 30, 1999

I’ve been toying around with Trac today. One step in the process is to hash the user passwords.

more…

0 Comments • Filed in Code, Python

A note on documentation

Posted on November 30, 1999

I always comment my code. I even use doxygen syntax in my comments and generate nice looking documentation for the projects. Still, I cant recall ever really looking at them.

more…

0 Comments • Filed in Organization

Singletons in under 500 words

Posted on November 30, 1999

A short tutorial I wrote a while back for a friend trying to explain singletons. The reason I felt it needed to be written was that everything I found on the net about singletons was huge multi-page articles, nothing short. So I set out to write one; in less than 500 words. But since then, every time my blog has been reconstructed, the post got lost, but every time a friend have asked me to put it back online. This time around was no exception so here goes!

more…

0 Comments • Filed in C++, Code, Programming, Tutorial

Proximity Gaming

Posted on November 30, 1999

When playing a multiplayer game, setting up the game session is a formal procedure. You select your avatar, your nick and a server to play on. You’re in control of how, when and with whom you play. Its after the settings have been negotiated and everyone have clicked "ready" the actual game begins.

Now, imagine the total opposite were true. What if the actual game was setting up the game? What if the gameplay was centered around how, when and with whom you were connected?

more…

0 Comments • Filed in Design

Trying out pastebin

Posted on November 30, 1999

Last time I tried to tackle the  problem with viewing source code in blog posts. If you’ve read that article, you know I settled for pastebin.

more…

0 Comments • Filed in Programming

Syntax highlight and code snippets in blogs

Posted on November 30, 1999

One thing that surprised me when starting the blog was how hard it is to do proper looking code. After all, having code on a page that indeed looks like code but doesn’t behave like code, sounds like some sort of hell. more…

1 Comments • Filed in Blogging, Programming

Nethack bot

Posted on November 30, 1999

I assume you know about the game Nethack, if not; read this. Some time ago a friend and I discussed if it would be possible to develop an AI/bot that played Nethack. more…

4 Comments • Filed in AI

Laying it out

Posted on November 30, 1999

In my last entry I promised (more for myself than anyone else) to answers these questions:

  • How often will you post?
  • Who are the target audience?
  • What will the posts focus on?
  • Why are you doing this?

more…

0 Comments • Filed in Blogging

Online

Posted on November 30, 1999

Ok then, I’m online. This is my second attempt at starting a blog. The last time, I tried to do everything myself. From scratch. But then I saw there were already some nice blog api’s – and why reinvent the wheel? more…

0 Comments • Filed in Blogging