Redcode
Home

Testing a chess engine

By royvanrijn On February 7, 2011 · 10 Comments · In Algorithms, Java Programming

About a week ago I decided to try and write a chess engine. I’ve encountered bitboards before, and I really liked working with them. Most references I found had to do with chess engines, so I decided to have a go.

Continue Reading →

Exception mailing

By royvanrijn On January 6, 2011 · 4 Comments · In Java Programming

A couple of weeks ago our Scrum team was thinking about exception handling. We don’t use checked exceptions, since they are the embodiment of evil. So everything is translated into runtime exceptions whenever possible. But this is where the problems start: What do you do with the uncatched runtime exceptions?

Taking it one step further [...]

Continue Reading →

Rainbow tables, reverse hash lookup

By royvanrijn On January 1, 2011 · 1 Comment · In Algorithms

Today I’ve been looking into rainbow tables. These are tables used to do a reverse lookup for a hash function. For example MD5, or Windows LAN Manager. Usually these tables are used to find passwords if the hash is known. Now I’m not looking for a method to crack somebodies computer, but the technology and [...]

Continue Reading →

Finding performance problems

By royvanrijn On December 14, 2010 · 3 Comments · In Java Programming

Many projects I’ve worked on, especially the projects using micro-optimization, had memory leaks and surprising performance hits. Most coders who work on for example Al Zimmermann’s programming contests use C/C++ and maybe even CUDA to get the most out of their system.

I’m usually using Java, just because I’m most at home in this language. [...]

Continue Reading →

XOR doubly linked list

By royvanrijn On November 24, 2010 · 3 Comments · In Algorithms

Since a couple of days I’ve been working hard on the new Al Zimmermann’s Programming Contest: Cards (also called Topswops).

The challenge

The idea is very easy, you take a series of numbers, from 1 to N. You shuffle the numbers around, for example:

5,3,1,2,4

Continue Reading →
← Previous Entries Next Entries →
  • Latest tweet

    • Unique, there is only one traffic jam in the Netherlands currently! The only problem? It is almost 1000km long.
  • Links

    • AZsPCs
    • koth.org
    • Retro Programming
  • Archives

  • That's me!

Platform by PageLines