Category Archives: Code
Removing entities in the Source SDK
I haven’t written for a while, mainly because I’ve been busy with classes and studying for the GRE for my grad school applications, but here’s a quick tip for those of you meddling around with the Source SDK.
It’s well documented on how you go about spawning entities, but I couldn’t find a good place explaining [...]
Also posted in C/C++, Gaming Leave a comment
Awesome regex test tool
So I’m working with a friend to develop a regex that matches something out of an API response, when we really wish we could quickly prototype a regex. Now, there are plenty of tools to do this, some are even freeware, but all them need to be downloaded and installed. I realize it sounds pathetic [...]
Also posted in Tools, Web Leave a comment
Know your text editor
Let’s examine why it’s important as a programmer to really know your text editor, but in a different light that usual. Traditionally programmers are concerned with knowing all the tricks of their editor so that they can make use of them. Instead, let’s look at an example of why you should know what your editor [...]
Also posted in Tools Leave a comment
Ban programmers, not functions
So my daily travels around the intertubes landed me on a very interesting blog post by Microsoft’s Security Development Lifecycle team (which they call SDL, not to be confused with the arguably more useful Simple DirectMedia Layer library). The post centered around them adding memcpy() to the banned functions list in favor of their more [...]
Also posted in Microsoft, Security Leave a comment
Include dependencies