Category: Programming

A New Venture: Wedu Games

A New Venture: Wedu Games

My new venture, Wedu Games, is up and running. Or at least the site is as there are no games finished yet. There are a few things in development, though, including an interactive storytelling table app (that isn’t a game at all) and a stud/hold-em poker hybrid to launch on mobile and Facebook together. Everything’s …

+ Read More

Indie Game Developers and the Facebook of Doom

Indie Game Developers and the Facebook of Doom

Slides from my presentation at the London Facebook Developer Garage last night: Indie Game Developers and the Facebook of Doomhttp://static.slidesharecdn.com/swf/ssplayer2.swf?doc=futureindiegamedevelopers-100225032338-phpapp01&stripped_title=indie-game-developers-and-the-facebook-of-doom View more presentations from Karl Bunyan.

fbExchange.Net – a new site for Facebook development answers

fbExchange.Net – a new site for Facebook development answers

With Daniel Schaffer (author of the .Net Facebook API Client) I’ve put together a Stack Overflow-type website for Facebook developer help called fbExchange.Net. It’s intended to build as a knowledge base and to be focussed more on tech than the official Facebook developer forum’s discussion format. (So hopefully the forum will be the place for …

+ Read More

Repeatable random numbers in JavaScript

Repeatable random numbers in JavaScript

Ever since programming BASIC on the Spectrum I’d wondered why it was possible to seed a “random” number generator. But then I found I wanted to do something that would produce repeatable results, but look like a random sequence. Strangely, although JavaScript alongs you to specify a seed for Math.random() the numbers that follow aren’t …

+ Read More

Firing JavaScript functions after a .Net AJAX request

Firing JavaScript functions after a .Net AJAX request

I wanted to have a function called after data was returned to the page from a .Net AJAX call. (The idea was to fade out when you pressed “submit” and then redraw when data came back.) It turns out there are handy handlers already there to, erm, handle this: Sys.WebForms.PageRequestManager.getInstance() .add_beginRequest(StartRequestHandler); Sys.WebForms.PageRequestManager.getInstance() .add_endRequest(EndRequestHandler); Those little …

+ Read More

Moritz Stefaner is a genius

Moritz Stefaner is a genius

I was thinking about how to best represent connections between people in my Six Degrees of Separation Facebook application and Paul Crabtree recommend I get in touch with Moritz Stefaner as he had something that would fit very nicely indeed. And he most certainly did; the relation browser was exactly what I wanted to do, …

+ Read More

Identifying slow blocking queries on SQL Server

Identifying slow blocking queries on SQL Server

This piece of SQL is perfect for finding which query is running at any particular time, especially if you want to find what it is that’s running very slowly. sp_who2 This should return a list of what’s running, including process ids (in the first column). Find out what’s causing all the trouble and enter it’s …

+ Read More

Facebook’s new ‘Invite friends’ tag

Facebook’s new ‘Invite friends’ tag

Everyone’s been either copying and pasting or writing from scratch some code to add “Invite friends” to their Facebook apps, but now there’s a simple tag that they’ve provided. It’s currently in beta and, knowing Facebook, is bound to change and break everything a few times, but it’s very easy to use: ” image=”http://apps.exponetic.com/itrust/ _img/iTrust-logo-magenta-small.gif”> …

+ Read More