Latest Posts »
Latest Comments »
Popular Stuff (get plugin

wp.com Stats Helper Plugin 0.5.5

Written by Vlad on October 5, 2008 – 2:35 pm

Thanks to Michael Tyson I’m releasing a new version of the wordpress.com Stats Helper plugin. It fixes some display problems (especially evident since wp 2.6.2) and introduces some more options to the widgets, including the ability to hide the shameless promotion link :D

Well done, Mr. Mike Tyson!

Update:

Up goes 0.5.5.1, with a small fix for options handling. Wordpress.org/extend takes a while to update, if you’re in hurry to test the new version you can use the SVN!

Updated (again):

Version 0.5.5.2 adds a default to $options['show'] (was causing a lot of grief among users).


Tags: , ,
Posted in programming | No Comments »

stackoverflow launches

Written by Vlad on September 15, 2008 – 3:51 pm

stackoverflow.com: Joel and Jeff’s latest project opens up to public today (public beta). It’s a Q&A forum for programmers with a strong accent on usability and community driven ranking.


Tags: ,
Posted in programming | No Comments »

Slow InnoDB MySQL?

Written by Vlad on July 9, 2008 – 2:24 pm

Reinstalled MySQL (using InnoDB storage engine) and it’s slow? Most probably you forgot to set innodb_buffer_pool_size to a decent value (by default it’s very low).

For a primer on MySQL optimization make sure you check this presentation:

Read this document on Scribd: MySQL UC 2007: Innodb Performance Optimization

Tags: , , ,
Posted in programming | No Comments »

Stats Helper Plugin 0.5.4 – Fixes for Post Title, URL, cache

Written by Vlad on June 12, 2008 – 9:25 pm

I updated the Stats Helper Plugin to version 0.5.4. It comes with two fixes:

  • Post titles and permalink/URL is read from the local Wordpress database instead of using those reported by stats.wordpress.com (lately it’s been acting very strange).
  • Expired elements from the option-based cache are removed at each save (a cache too much was causing crashes on some installations).

I strongly recommend you update to this version!


Tags: , ,
Posted in programming | 2 Comments »

Yahoo Maps Error: YAHOO.util.CustomEvent is not a constructor

Written by Vlad on May 28, 2008 – 4:21 pm

UPDATE: Fixed by Yahoo!

Seems like someone messed up! Yahoo Maps’ AJAX API is broken and Firebug prints this lovely message:

YAHOO.util.CustomEvent is not a constructor

A quick workaround is to grab the output from”

http://api.maps.yahoo.com/ajaxymap?v=(version)&appid=(apikey)

and look for

http://in.maps.yahoo.com/js

Replace that with:

http://in.maps.yahoo.com/v(version)/aj

Then replace your call to the AJAX API:

<script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=(version)&appid=(apikey)"></script>

with the modified output from that script:

<script type="text/javascript">
var YAHOO=window.YAHOO||{};
YAHOO.namespace=function(_1){
    if(!_1||!_1.length){ return null; }
    var _2=_1.split(".");
    var _3=YAHOO;
    for(var i=(_2[0]=="YAHOO")?1:0;i<_2.length;++i){
        _3[_2[i]]=_3[_2[i]]||{};
        _3=_3[_2[i]];
    }
    return _3;
};
YAHOO.namespace("util");
YAHOO.namespace("widget");
YAHOO.namespace("example");
var YMAPPID = "(apikey)";
function _ywjs(inc) { var o='<'+'script src="'+inc+'"'+' type="text/javascript"><'+'/script>'; document.write(o); }
_ywjs('http://in.maps.yahoo.com/v(version)/aj/y.js');
_ywjs('http://in.maps.yahoo.com/v(version)/aj/ymapapi.js?v=(full_version)');
_ywjs('http://in.maps.yahoo.com/v(version)/aj/ymic_4.js');
</script>

This is a temporary workaround, YAHOO! will probably fix this really soon!

PS: Remember to replace (apikey), (version) and (full_version) with the proper  values!


Tags: , , ,
Posted in programming | 5 Comments »

Running on Mojito Software