Dear reader,

This site finally got its much-needed overhaul. I tried to keep existing pages at their original URLs.
Should you find an error, please do tell me at contact@aspyct.org.
Feel free to visit the new website, which may contain more documentation pertaining to your search.

Thank you for visiting aspyct.org, I hope you'll find what you're looking for.

Old Aspyct.org blog

 or  go to the new site.

The A* algorithm explained

| Comments

I just spent the whole day implementing a pathfinding algorithm: A*. The A* algorithm is based on Dijkstra, with the addition of a heuristic (estimation) that allows to favor one path rather than another.

The A* algorithm also has an interesting property: you can easily alter the estimates to make it more accurate or faster (not both, of course ;). That’s why the path depicted above is not actually the shortest one. That’s also why I spent the whole day searching why my implementation of A* was slower than the one I found on the web…

This is all properly explained on Amit’s A* pages. You can also find an example implementation and training material in Java on the Memoization blog. Thanks to these two people for their excellent content :)

Quicksort brilliantly explained

| Comments

I wanted to finish my day with a little review of the quicksort algorithm. Instead of boring theory on random websites, I actually stumbled upon this very nice video-explanation. Also visit author’s website.

And by the way… If you happen to have a planning poker (or any card deck actually!), that’s exactly what you need to train yourself to sorting :)

Hey, have you met Scapy?

| Comments

Nothing’s better than a little game to learn! As today’s theory is TCP/IP networking, how about playing around with you own packets? Scapy allows you to do so. Built on top of the Python interpreter, it offers tools to forge your own network packets. If you’re interested in networking, it’s definitely something you want to try :)

And now… Let’s explore my network! See you soon.