Check it out:Â JSGB v.0.02: a JavaScript Nintendo GameBoy Emulator and Debugger
This is the coolest thing ever.
Software Design Studio
Check it out:Â JSGB v.0.02: a JavaScript Nintendo GameBoy Emulator and Debugger
This is the coolest thing ever.
I’ve been developing a JavaScript module for some graphing work I’m doing. I’ve been using Safari’s built in profiler to figure out which functions are wasting the most CPU. It’s a great tool:

For the longest time, I was running up against this one problem: some of my member functions were being listed simply as “(anonymous function)” in the Profiler function list (see highlighted row above). Not cool. (Luckily for me, the Profiler also lists the .js file and the line number, so it wasn’t that hard to figure things out, but certainly annoying nonetheless.)
Anyway, I’ve finally found a solution. You see, I was declaring my class functions as follows:
Grafsz.prototype.ClearCanvas = function()Â
{
...
}…notice how I’m not giving my function a name? I’m basically assigning an anonymous function to a member variable of the class. All I had to do was change it to
Grafsz.prototype.ClearCanvas = function ClearCanvas()
{
...
}That’s it. Check it out:

So I was trying to get XCode syntax highlighting support for Google’s new Go language. I had located the two XCode files in the Go SRC package (these were in $GOROOT/misc/xcode), but for the longest time I couldn’t figure out where to put them. I finally stumbled on the answer (thanks to Talamathi for putting me on the right track): The files go in /Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/Resources/
So I’ve been experimenting with Google’s Go programming language. So far I’m liking it quite a bit. Here’s a rudimentary implementation of a Stack I made using a Linked List. As you can see, I’ve defined two interfaces — one for the Linked List functionality and one for the Stack functionality — but I haven’t implemented either fully. There’s also a main() function thrown in to demonstrate the functionality. Right now the Linked List only stores integers, but this could be changed very easily.

You may all already know about this, but on reinstalling Fiddler I was pleasantly surprised to discover this: official support for Fiddler in Firefox. Not bad, right? It comes in the form of an extension called “FiddlerHook.â€
Read more here: http://www.fiddler2.com/fiddler2/addons/fiddlerhook/ DavidPS. Up until now I had been using something called “SwitchProxy†to do almost the same thing, but this is definitely better.
Posted via email
We frequently use Google Analytics to track the readership of the blogs we design and create. Fed up of having to configure Google Analytics tracking code over and over again for each new theme we create (and we’ve done this for a lot of themes over the years), we finally decided to search for aWordPress plug-in to do it for us.
In comes “Google Analyticator.”
Not only does it add the Google tracking code to the bottom of your posts, but it also has a ton of other features like outbound link tracking, download tracking, turning itself off for Admin users, etc. A lot of these features are things we actually developed custom solutions for back in the day so it will definitely be interesting to see how they stack up.
Check it out: http://wordpress.org/extend/plugins/google-analyticator/
This is an iPhone Programming tip. Say you want to find  the full URL of a file within your Application’s Bundle (mainBundle), here’s how you would do it. Example: This would return the full URL of a file named “Sound2.caf”:
CFURLRef fileURL;
NSString *path;
path = [[NSBundle mainBundle] pathForResource:@"Sound2" ofType:@"caf"];
fileURL = (CFURLRef)[NSURL fileURLWithPath:path];