Archive for 'Web'
Curry: partial functions in Actionscript 3
I needed curry() and bind() in Actionscript 3, because I was porting a Javascript application that was built using PrototypeJS 1.6 to Flex and the application heavily used these functions. I came up with the following Actionscript / Flex code:
bindAndCurry.as package { public function bindAndCurry(…a):Function { return function(…b):* { return a.shift().apply(a.shift(), a.concat(b)) } } } BindAndCurryTest.as package { import flash.display.Sprite; public class BindAndCurryTest extends Sprite […]
Posted: September 14th, 2009 under Uncategorized, Web.
Comments: none
Omegle: “next big thing” or hype?
So have you heard of Omegle? It’s a website that lets you chat with a random other visitor of the site. It has only been online for a few weeks but “everybody” seems to be talking about it. Even the free newspaper De Pers wrote about it this morning (in Dutch). It struck me because […]
Posted: April 8th, 2009 under Web.
Comments: 5