General Discussion

Topics that talk about general programming principles

Programmers, the Internet’s Frontier Cowboys

Think about it for a moment... the world is increasingly becoming more and more dependent on technology and especially the software that powers most of it. Could programmers become one of the most crucial centerpieces of a new technology frontier? They build the systems, they know the systems, and if there was a backdoor into those systems they would be the ones that either did it on purpose or by ...

So You Want to Build a PHP Game Huh?

This type of question plagues the DIC board and dominates the PHP forum most of the time. How does one go about building a PHP game like ___________ (fill in the blank)? I have had my fair share of web based PHP gaming startups and will tell you more about the leg work needed into creating a solid game foundation in PHP.... on this entry of the Programming Underground! During my ...

Hacking the Gibson, One Small Camera at a Time

What if you could look down on people across the world without them knowing? Almost a god like view that often governments enjoy like in the movie "Enemy of the State" except without the hocus pocus of going through satellites and stuff. We explore this interesting world on this entry of the Programming Underground! Every day hundreds if not thousands of video cameras are installed around the world to track people ...

What’s in the box? Black box that is.

You may have heard of the idea of "Blackbox" development. Where is it? Can I open it? What does it contain? Is it that red rider BB gun I wanted from xmas all these years? NO! It is the idea of encapsulating or "hiding" implementation details about a software component. In today's entry, we will cover what it means to be blackbox and how designing with this idea in mind ...

Eat Up, Error Messages Are Good for You

Error messages, we all hate them right? They are the little bugs that slap you in the face and say "Stupid, your code doesn't work! Do it all over again!" The last thing you need hours before an assignment or project is due is to get that lame error that stops you dead in your tracks. You know it is going to happen, so why not just stop, take a ...

Variable Lifespan… It’s Born, Used and Dies

Variable lifespan is a very important topic. But what is it and how do we use it to our advantage? A variable's lifespan is the time between its initialization and the time it either goes out of scope or is purposely destroyed (yeah that is right, a programmer can be a hitman too!) Most programmers don't fully realize the implications of setting a variable at the top of a function ...