Hack images on any page with Math and JavaScript

JavaScript is recently very popular scripting language. It powers the most popular Web 2.0 applications with a combination of web development technique called AJAX. However, if you thought that JavaScript can be used only by web developers I must defeat you. Below this paragraph you will find 2 snippets of JavaScript code that you can just copy and paste to your browser address bar and you will see the power of Math and JavaScript. But…

"Hack images on any page with Math and JavaScript"

(Ogre) Embedding Python in C++ Example

I decided that I want to find a good way to put Python in my C++ Ogre applications. Now, one method of doing this would be to write an interface forĀ import game_namemy application at a high level. Lets say that Python is going to handle scripting in an RPG-type game. I would need it to do things like “move character to this position, do some spell particle effects, say this dialog”. To accomplish this, I’d…

"(Ogre) Embedding Python in C++ Example"

Psyco and PyPy

After working with an issue in PyOgre I decided to take a closer look at Psyco (the Python JITer). Taking a look at how Psyco works is like learning how sausages are made. You just don’t want to go down that road. This isn’t to say that Psyco is poorly written, badly executed, or anything like that. I just mean that the actual internals of Psyco are incredibly complex, and not something that can be…

"Psyco and PyPy"