
Long time no see. Really. I bet you thought I had forgotten about this site, right? Wrong. Truth is, I'm a very boring person. Nothing to write about.
But today, I did something mildly interesting!
I retook my drivers license theory test. 2 questions wrong, 33/35, enough to pass. So look out New Zealand! I can now drive... with someone with a full license in daylight hours. Watch out!
It was pretty nerve wracking, actually. I had 2 questions wrong and I had left 2 difficult questions until the end... if I got those two wrong I would've failed. I made an educated guess and got them both right :D
Finally got the stupid license out of the way, now I just have to learn to drive. See you in 8 months.
Quick guide to compiling Spidermonkey under Visual C++ Express 2005
Step 1: Download and extract spidermonkey from here: ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.60.tar.gz
Step 2: Open the src/js.mdp file. You will need to convert it into an updated format (don't worry, visual c++ does this for you)
Step 3: Compile the fdlibm project.
Step 4:
- Add the Debug dir into the list of additional libraries for the 'js' project
- Add fdlibm.lib to the additional dependencies list for the 'js' project
Step 5: Compile the js project.
Step 6 (optional):
- Add the Debug dir into the list of additional libraries for the 'jsshell' project
- Add js32.lib to the additional dependencies list for the 'jsshell' project
- Compile the jsshell project.
Step 7: Copy all the .h files from the /src/ dir into C:\Program Files\Microsoft Visual Studio 8\VC\include\smjs (you will have to create the smjs dir)
Step 8: Copy the .lib files from Debug/ into C:\Program Files\Microsoft Visual Studio 8\VC\lib
All Done. To use spidermonkey in your project add js32.lib to the additional dependencies list of your project and #include <smjs/jsapi.h>. You will also need js32.dll (produced in compile) in the dir of your .exe. See the http://www.mozilla.org/js/spidermonkey/ page for further embedding.
So I am meant to be releasing Sandbox 1.0 soon, which I will be putting on this site of course.
Random stuff:
Shazza's cool picture
Order of the Stick comic - this one totally rocks
http://sandbox.kiasyn.com/ has been upgraded to using the QSFPortal system with a nice skin (made by me) for it.
http://sandboxdev.kiasyn.com/ shows what I have recently added to sandbox.