Archivio di Novembre 2006



Urawaza per tutti


h1 Giovedì, 16 Novembre 2006

Letto sull’ultimo numero di Wired un interessantissimo articolo: “Migliora la tua vita con gli urawaza. Gli urawaza (che letteralmente significa “trucchi segreti”, un po’ come i cheat e le vecchie poke del Commodore) sono quelle che potremmo definire delle dritte che i sapienti giapponesi danno in una seguitissima trasmissione nipponica, chiamata Ito-ke no shokutaku (vale a dire “Il tavolo da pranzo della famiglia Ito”); grazie a Wired, ecco una rappresentazione statica di alcuni urawaza trasmessi:

Come rimanere caldi dopo il bagno
Bagno

… leggi il resto del messaggio »

Che la scimmia sia con te


h1 Mercoledì, 8 Novembre 2006

Stasera, anzi stanotte, verrà trasmessa l’ultima puntata della prima parte della terza stagione di Lost, poi fino a febbraio buio assoluto. Visto il continuo crescendo delle prime puntate di questa stagione, partita in sordina ma che con la quinta puntata è tornata ai fasti della fine della seconda serie, già prevedo nella spasmodica attesa uno sbrocco completo dei pochi neuroni rimasti a disposizione, anche considerato il fatto che stasera la protagonista assoluta sarà Kate e il trailer della sesta puntata trasuda follia allo stato puro.

E come si fa a riuscire a tener buona questa scimmia da Lost per un periodo così lungo, dannazione?!

Finale Kate1

Kate2 Kate3

Kate4 Lost

Fixing LiveCalendar v1.8.5


h1 Lunedì, 6 Novembre 2006

I found out a bug in v1.8.5 of LiveCalendar that prevents it from displaying the archives paths correctly when you have installed WordPress in a subdirectory of its own while your blog is placed in the root instead (i.e. when you have 2 different URIs in “WordPress address” and “Blog address” of the “General Options” of your blog).

Here’s an easy and rapid way to fix the problem (lines numbers refer to version 1.8.5 only):

  1. open up the “kcalendarscript.php” script found in the archive with your favorite text-editor;
  2. locate line 98 where php ‘$siteurl’ variable is defined and add this new line right after it :
    $sitehome = get_settings('home');
  3. locate line 138 (137 before edit above) where js ’siteurl’ variable is defined and add this new line right after it :
    var sitehome = '$sitehome';
  4. on line 408 (406 before edits above) replace the ’siteurl’ variable with the just created ’sitehome’ one, so that the new line looks like this:
    el2.href = sitehome + permastruct;
  5. on line 422 (420 before edits) replace the ’siteurl’ variable like you’ve just done it a while ago:
    el2.href = sitehome + m_permastruct;
  6. save the file and upload it in the usual “wp-content/plugins/livecalendar” folder and you’re done!

Now fully enjoy this nice and powerful plugin! :-)