ShaderOp.com

ShaderOp.com

Hi there. I have moved to a new website at Mhmmd.org. I'm no longer updating this one, but I'm keeping it around so the Internet wouldn't break. See you there.

All Posts in Category “Programming”

  • Using wxPython with Autodesk Softimage
    Posted on Apr 9, 2011

    Every now and then someone on the Softimage mailing list would ask a question about using wxPython or PyQT with Autodesk Softimage, and such questions usually go unaddressed or receive a vague answer at best. So I’ll try to answer that question once and for all in this post. Softimage already has a robust set [...]

  • A Simple, Intra-Process Event Bus in C++, Part I
    Posted on Sep 14, 2010

    A previous post introduced a way of assigning a unique ID number to arbitrary C++ types. As already mentioned in that post, my motivation for doing this was to lay the foundation for a simple, intra-process messaging system suitable for use in games (particularly the examples presented in Programming Game AI by Example). This post [...]

  • Uniquely Identifying Types in C++ without using RTTI
    Posted on Sep 5, 2010

    In which the evils of the C pre-processor macros are exploited for the greater good to produce unique IDs for types in C++.

  • RAII by Example: Implementing GenerateSha1Hash
    Posted on Aug 27, 2010

    In which I own up and actually implement a function I have written about earlier, and use the chance to talk about RAII for a bit.

  • Minimizing Header Bloat in C++: An Example
    Posted on Aug 25, 2010

    In which I waste way too much time debating the merit of std::vector vs. boost::shared_array vs. plain ol’ int8_t*.

  • Bad Assumptions: Hashing Algorithms
    Posted on Aug 24, 2010

    In which I play with SHA-1, MD5, and CRC32, and end up with some surprising conclusions (at least they were surprising me).

  • Using HtmlUnit to Test .NET Applications
    Posted on Aug 12, 2010

    I have been reading a lot about Behavior-Driven Development and test automation lately. Steven Sanderson’s blog proved to be a goldmine of practical information in that regard, specifically his post about BDD, SpecFlow, and ASP.NET MVC. From my limited understanding of the subject, an ideal BDD test should verify a feature by running a series [...]

Powered by: