by Matt on November 7, 2009
As I was toying around with 3D algorithms on older computers at school, I ended up sticking with RayCasting. If you’re not to sure what raycasting is, here is a great write up on it.
I also came by some sample code for RayCasting, however it worked with an applet. After some basic changes, I added hit detection and smoothed it out to be a bit better looking (it now draws 5x as many vertical lines, meaning walls are a lot smoother than they were). Hit detection is still somewhat flawed as you can be standing in some spots close enough to see through walls.
You can try the demo:
OR
download a copy of the source code.
I plan to add a maze drawing algorithm further down the road and automatically generate mazes, I may try my hand with textures later on as well.
by Matt on October 20, 2009

Do we qualify for a Guinness World Record? Or at least a few free goodies?
And no, this wasn’t edited (other than deleting some private information).
by Matt on October 18, 2009
I just finished building a quick Ruby based command line RPG.
RubyRPG.zip
It looks like it may be having a few odd issues, if you experience any, please post them in the comments.
The code is not under any license, so you can do what you want. I would appreciate a link back to this post if you’re referencing the code for anything with regards to learning ruby, but otherwise have fun!
by Matt on October 14, 2009
So the other night I was bored, and I built an app. And we could go on with a boring story like that for hours, or I could send the link, and you could spend those hours posting and answering questions!
Check out http://apps.facebook.com/socialquestions/
I am writing this post as a challenge for myself. I would like to let everyone know that I am The Coolest Guy in The World. If I am to succeed on my goals, this post will rank on the first page in google for Coolest Guy in The World.
I would also like to mention, that this is not cheating google, as we are providing them with completely legitimate information. Matt Dunbar (I) am really the coolest guy in the world.
I’ve seen this question asked quite a few times, and figured I would shine some light on the topic.
First of all, you shouldn’t be searching for this exactly. You should be searching for a fan that fits the socket type of your CPU, but since you did search, I am going to assume you don’t know what that is.
The easy solution would be to buy a CPU Fan or Heatsink with generic mounts, but that won’t offer the best selection, and definately not the best preformance.
To determine what socket our CPU is, we will use a program called CPU-Z. You can download CPU-Z here.
Once you download CPU-Z, and install it, start the program up. After the loading screen finishes, you should see something like what I have below, but with different data. You should see the red area below as well. This contains your CPU’s Socket.

Now, you are ready. Go back to google and type in CPU Socket ___ Fan.
If you need help choosing a CPU fan, I recommend you read this post:
Choosing the right CPU Fan/Heatsink
In home-built computers, aftermarket CPU Cooling is usually a requirement. Usually the fan and heatsink are replaced to help keep the system from overheating.
When you go to add a CPU Fan and heatsink, you will have to consider a few things.
1. Do you want liquid cooling, or air cooling?
Air is a lot cheaper than liquid cooling, but liquid cooling can be fun to setup, and running fanless (with no noise) is great.
2. What size is your CPU?
You need to know what size your CPU is. If you don’t know the size I recommend you read the following post:
What CPU Fan Do I Need?
3. How big is your case?
Is there lots of room, usually this isn’t an issue, but after looking at the ThermalTake Big Typhoon system, I figured its worth mentioning.
4. How big is your budget?
If you want liquid cooling, and your budget is less than $100, forget it. If you want air cooling, and your budget is $500-$600, you’re going to be in a nice surpirise when you see the most expensive fans are usually priced under $75. If your budget is $500-$600 and you want to have some fun, that budget should get you a pretty decent water cooling setup.
With that said, you should write down your answers to the above questions, and bring them to a tech store. With the information provided above, they should be able to point you in the right direction.

I know its off topic, but so funny!
After teaching the PHP for Beginners Class on EduFire.com I am now more up to date on what people want to learn, and how quickly I can move through things.
Below, you will find an outline of the basics…
Is this for you?
If you don’t know any other programming languages, don’t know HTML, this isn’t for you. If you don’t know how to use FTP, or upload files on to your server/hosting account, this isn’t for you. If you don’t know what a hosting account or server is, this probably isn’t for you.
If you’ve managed to pass through the above list, you will probably be able to learn something today!
What exactly is PHP?
PHP stands for PHP Hypertext Preprocessor. PHP processes content on the server side before serving it to the end user, so the end user will never see the PHP code, only the results of it. With PHP you can add actual functionality (such as searching, logging in, registering, and so forth) to your websites.
Ready to get started?
You can find lots of tutorials on PHP at P2L!
Its a great site for tutorials.