Some more links:
beej Links ai, analog computers, audio, canvas, conc lists, contest, css, erlang, fork, html5, iphone, threading

The geek-chic OpenMP logo.
This is a brief intro to using OpenMP for parallel programming (with what I’ve discovered about it so far). We’ll implement a Mandelbrot Set renderer that runs multicore, and throw in a couple aside-goodies as well (basic supersampling and Mandelbrot continuous coloring).
First, let’s talk parallel programming. The basic idea here is that we have some task that can be split up into parts, and we hand off each of these parts to different CPUs.
Read more…
beej Programmer C, mandelbrot set, netpbm, openmp, parallel programming, ppm
More links for ya:
- Stack Machines, Expression Evaluation, and Reverse Polish Notation little walkthrough tutorial.
- Hot-swapping Binaries in C. Straightforward, simple, and nifty, but I wonder about gotchas…?
- Compressed Sensing. A Wired article, which suggests Blade Runner might not have been too far off.
- Genetics Basics for Programmers. Even the laziest programmers do this all day long.
- CSS-only Drop-Down Menus. No frills, but no JavaScript, either. Supports every single major browser (except Internet Explorer, obviously.)
- Writing the BubbleUp jQuery Plugin. A simple demo on how to write a basic plugin for jQuery.
- Functional Programming in Python. Intro; starts easy, and thickens a bit in the middle.
- Roulette Wheel Selection for weighted random number generation.
- The Collatz Conjecture—an intriguing example of how graphically plotting data can sometimes lead you to more easily recognize patterns in the data.
beej Links C, collatz conjecture, compressed sensing, css, functional programming, genetics, hot swapping, jquery, random numbers, reverse polish notation, rpn, stack machine

One of the "copies" of the Mandlebrot Set floating somewhere around its outside edge.
And now for something completely different! The Mandelbrot Set! This is the basis for all those paisley computer fractal pictures we see everywhere, especially when they were popular in the 1990s. For your viewing pleasure, a Mandlebrot explorer app is included, with (Flash) source, right down there in this blog post! Woo!
In this article, I’m going to talk about how the images are generated, and use that as an example of something I find I do quite commonly: remapping number ranges. High excitement, there.
I do apologize in advance that this post is a bit mathy. Now, I was never particularly good with math, so I figure that if I’m grasping it, it must be pretty straightforward (the actual manipulations never get beyond elementary algebra.) But it’s not as easy reading as, say, Captain Blood. If you don’t care for math, I encourage you to just jump, guilt-free, down to the pseudocode and the app! Enjoy!
Read more…
beej Programmer adam7, complex numbers, mandelbrot set, remapping
Some links for y’all:
- Chad’s love of code reviews—and I agree. It can be tough to expose your code to better eyes, but everyone is improved because of it.
- Review Board—along those lines, here is an open source code review tool that was linked to in the comments for the code-review post.
- Building Flash Multiplayer Games—a somewhat extended tutorial that I haven’t actually gone through, but looks decent.
- What Really Happens When You Navigate To A URL. Semi-technical, and informative if you don’t already know it.
- Factorial Lookup. Ever wonder what 182,731! is? (You might have to give it several seconds to download before it renders.) Sometimes the most practical way to solve difficult (or impossible) problems is to just try to look up the answers in a massive precalculated table. Also see Reverse MD5 Hash Lookup.
- Arimaa—a modern game played on a chess board with chess pieces, specifically designed to make it difficult to write effective AI to play it.
- Making Computer Science More Enticing. A good inspirational 2-minute vid at the top, and information about how Stanford University’s revamping of their CS program led to higher enrollment.
- Understanding Weak References, a Java-oriented article, but generally applicable.
beej Links arimaa, code review, factorial, flash, games, http, inspiration, lookup, md5, review board, weak references