Archive for January, 2009
Divine Plea returns in WoW
Divine Plea is one of a Holy Paladins two main sources of mana regen (along with illumination). The spell is on a one minute cool down and returns 25% of your total (maximum) mana over 15 seconds while reducing healing done by 20%. Because the spell is based off total mana, it scales with intellect, [...]
obsessed with anonymous functions
Any normal person would just live without anonymous functions in PHP, they are buggy and non trivial ones are pain to write and read. I’m not sure why I seam to obsess over them. At the very least, the below code will test unicode in your dev tools Edit: Of course after I wrote that [...]
Javascript map-sort
I’m sure sorting method has a real name, but I’ve had no luck searching for it. function mapSort(array, mapFunction, sortFunction) { // Store both original value, and transformed value var mapData = array.map(function(e) { return [e, mapFunction(e)]; }); // [...]
