Vi ricordate le luminarie natalizie che lo scorso anno abbellivano la città di Como? Ecco ci sono anche quest'anno e sono forse persino più belle. Se l'anno scorso a farla da padrone era il colore blu, quest'anno è un vero tripudio di colori, con l'azzurro sempre dominante, ma con il rosso natalizio e i colori pastello a rendere il clima più invernale. A differenza dello scorso anno, però a parte portare la macchina fotografica buona, mi sono anche munito di cavalletto così ho potuto fare dei buoni scatti che finalmente rendono giustizia allo spettacolo.
(tutte le foto dopo il salto...)
Cerca nel blog
Loading
4 gennaio 2012
3 gennaio 2012
Situazione dei rapporti sulla contaminazione alimentare
Vogliamo tranquillizzare i lettori che seguono i nostri rapporti alimentari del fatto che da diversi giorni non vedono più aggiornamenti.
Non abbiamo certamente deciso di abbandonare i rapporti che facevamo a scadenze più o meno fisse, si tratta infatti del Ministero della Salute, del Lavoro e del Welfare (MHLW) che dal 28 dicembre che non pubblica più alcun rapporto.
Ovviamente, non siamo al corrente né del motivo, anche se è plausibile che la pausa sia dovuta alle festività, né di quando la pubblicazione delle misure riprenderà.
Dal canto nostro, possiamo solo assicurare i lettori che appena avremo nuovi rapporti e novità dal Giappone la pubblicazione dei post riprenderà come in precedenza.
Non abbiamo certamente deciso di abbandonare i rapporti che facevamo a scadenze più o meno fisse, si tratta infatti del Ministero della Salute, del Lavoro e del Welfare (MHLW) che dal 28 dicembre che non pubblica più alcun rapporto.
Ovviamente, non siamo al corrente né del motivo, anche se è plausibile che la pausa sia dovuta alle festività, né di quando la pubblicazione delle misure riprenderà.
Dal canto nostro, possiamo solo assicurare i lettori che appena avremo nuovi rapporti e novità dal Giappone la pubblicazione dei post riprenderà come in precedenza.
Prime impressioni del Samsung Galaxy S SCL
E così dopo quasi due anni di servizio così così, mia moglie ha deciso che era ora di dare fine alla mia agonia con il BlackBerry Curve 8520 di cui vi avevo già parlato in precedenza. Lei ha letto nei miei pensieri e si è fatta convincere che uno smartphone della famiglia Galaxy, marca Samsung e soprattutto targato Android, poteva essere un gradito sostituto. I Galaxy sono tanti e hanno le più svariate forme, dimensioni e prezzi, quello che la Tata è riuscita ad accaparrarsi in offerta alla Mediaworld è il modello Galaxy S SCL, nome in codice GT-I9003. Il prezzo in offerta era molto allettante, 199 euro da confrontare con i circa 400 del prezzo di listino che non avrei mai speso per un cellulare.
Ma a parte del prezzo, vorrei raccontarvi le mie prime impressioni dopo circa una settimana di utilizzo del mio nuovo giocattolo Hi-Tech.
Ma a parte del prezzo, vorrei raccontarvi le mie prime impressioni dopo circa una settimana di utilizzo del mio nuovo giocattolo Hi-Tech.
How to make Blogger Mobile working with Disqus
If you are blogging on Blogger and you opted to replace the static native commenting box with the interactive and sexy Disqus discussion thread, then you probably know that the two work very nicely together in the desktop version of your blog, but as soon as you go mobile Disqus disappers.
Sometimes ago, Blogger decided to offer their users the possibility to have a mobile version of their blog just out of the box, with no special configuration required. Mobile users pointing their browser to a mobile-enabled blog will just land to the mobile-friendly version of the site, as simple as that. The trick is a script running while loading the page that catch from the user agent the device model name and in the case of a handheld device, it adds a ?m=1 at the end of the url to have the proper redirection.
So far so good, I would say, but no configuration required also means no possibility to make any customization to the template and this is where the conflict with Disqus arises.
When you install Disqus in Blogger, you are just adding another widget to your layout. This is a simple HTML/Javascript widget that is actually hiding the original comment div and adding to the DOM the Disqus Thread with all its frills. When your desktop layout is converted in the mobile version only a few standard widgets are ported and obviously the Disqus one is dropped.
This is the solution
It looks like a showstopper, but there is a quite simple way out to force a widget, even if it is not a standard one, to be included into your mobile version. Of course Blogger doens't guarantee that your custom widget will render and work on smartphones, but if you configure Disqus to use the mobile theme for handheld you won't have any problem.
Blogger developers added a new property to the widget object; the mobile property can assume three different values: 'yes', 'no' and 'only'. For non-standard widget, the mobile attribute is set to no by default, but actually nothing is preventing an advance user from editing the HTML template and setting the property to 'yes'. In practice, you go to modify the HTML of your template, you save a complete backup first, you expand widget template and look for the Disqus box. The only required change is to add the mobile='yes' line as highlighted in the code snippet below.
Of course, we all hope that Disqus will change their widget to include this line automatically with no need of editing for the final user.
If you have a custom template...
The procedure described so far can be used more or less straightforward if you have a standard template and you use the Disqus widget. If you have a heavily customized template like the situation reported by DarkUFO in this comment, you need some more hacking to get Disqus on mobile.
When helping DarkUFO, my approach was to take out from the template all the scripts related to Disqus and put them all together into a new HTML/Javascript widget. After that, I've modified the template adding the mobile='yes' property to the just added widget.
In case you need some help with this hacking, try asking for some help here below.
Known issues
Everything working? Not really, there are still a few issues I've found and that need to be fixed possibly by some other smart developers.
1. The first one is that the hide and replace mechanism of Disqus is not working when displaying the front page in the mobile version. This is actually not too much of a problem because when you click on the "# comments" links you are anyway redirected to the correct blog post but not to the comment section and the number of reactions is missing.
2. The second one is a bit more tricky and is with the "Link to comment" included into the email users are receiving with new comments. This short link is pointing to something like:
and when you click on it from your phone, Blogger will append the "?m=1" to the end and you will land to the desktop page. In fact the correct link should be something like
with the mobile parameter in between the post URL and the anchor text. This is very likely a problem that should be fixed by Blogger and not by Disqus and tthat's why I've submit a question to the blogger help forum you should consider to support if you are having the same issue.
If you find this helpful, share it!
Sometimes ago, Blogger decided to offer their users the possibility to have a mobile version of their blog just out of the box, with no special configuration required. Mobile users pointing their browser to a mobile-enabled blog will just land to the mobile-friendly version of the site, as simple as that. The trick is a script running while loading the page that catch from the user agent the device model name and in the case of a handheld device, it adds a ?m=1 at the end of the url to have the proper redirection.
So far so good, I would say, but no configuration required also means no possibility to make any customization to the template and this is where the conflict with Disqus arises.
When you install Disqus in Blogger, you are just adding another widget to your layout. This is a simple HTML/Javascript widget that is actually hiding the original comment div and adding to the DOM the Disqus Thread with all its frills. When your desktop layout is converted in the mobile version only a few standard widgets are ported and obviously the Disqus one is dropped.
This is the solution
It looks like a showstopper, but there is a quite simple way out to force a widget, even if it is not a standard one, to be included into your mobile version. Of course Blogger doens't guarantee that your custom widget will render and work on smartphones, but if you configure Disqus to use the mobile theme for handheld you won't have any problem.
Blogger developers added a new property to the widget object; the mobile property can assume three different values: 'yes', 'no' and 'only'. For non-standard widget, the mobile attribute is set to no by default, but actually nothing is preventing an advance user from editing the HTML template and setting the property to 'yes'. In practice, you go to modify the HTML of your template, you save a complete backup first, you expand widget template and look for the Disqus box. The only required change is to add the mobile='yes' line as highlighted in the code snippet below.
<b:widget
id='HTML3'
locked='false'
mobile='yes'
title='Disqus for unico-lab'
type='HTML'
>
Of course, we all hope that Disqus will change their widget to include this line automatically with no need of editing for the final user.
If you have a custom template...
The procedure described so far can be used more or less straightforward if you have a standard template and you use the Disqus widget. If you have a heavily customized template like the situation reported by DarkUFO in this comment, you need some more hacking to get Disqus on mobile.
When helping DarkUFO, my approach was to take out from the template all the scripts related to Disqus and put them all together into a new HTML/Javascript widget. After that, I've modified the template adding the mobile='yes' property to the just added widget.
In case you need some help with this hacking, try asking for some help here below.
Known issues
Everything working? Not really, there are still a few issues I've found and that need to be fixed possibly by some other smart developers.
1. The first one is that the hide and replace mechanism of Disqus is not working when displaying the front page in the mobile version. This is actually not too much of a problem because when you click on the "# comments" links you are anyway redirected to the correct blog post but not to the comment section and the number of reactions is missing.
2. The second one is a bit more tricky and is with the "Link to comment" included into the email users are receiving with new comments. This short link is pointing to something like:
http://your-blog.blogspot.com/your-post.html#comment-123456
and when you click on it from your phone, Blogger will append the "?m=1" to the end and you will land to the desktop page. In fact the correct link should be something like
http://your-blog.blogspot.com/your-post.html?m=1#comment-123456
with the mobile parameter in between the post URL and the anchor text. This is very likely a problem that should be fixed by Blogger and not by Disqus and tthat's why I've submit a question to the blogger help forum you should consider to support if you are having the same issue.
If you find this helpful, share it!
2 gennaio 2012
Fiocco azzurro all'unico-lab
Sapete che ogni anno c'è una specie di gara per vedere chi sarà il primo nato del nuovo anno, e per il 2012, almeno per la provincia di Como, il fiocco azzurro speciale appartiene a Ivan, figlio di Yulia e Valery entrambi membri della comunità unico-lab!
Ivan era atteso per la fine del mese di dicembre e quando domenica mattina abbiamo visto la foto del piccolino con l'annuncio in russo della nascita sul profilo Facebook di Valery abbiamo fatto un doppio brindisi, ma ancora non sapevamo del suo fortunato primato.
Ad Ivan va il nostro benvenuto al mondo, alla mamma i complimenti per l'impresa non da poco e al papà un abbraccio affettuoso in attesa di un sigaro cubano e caviale e vodka!
Ivan era atteso per la fine del mese di dicembre e quando domenica mattina abbiamo visto la foto del piccolino con l'annuncio in russo della nascita sul profilo Facebook di Valery abbiamo fatto un doppio brindisi, ma ancora non sapevamo del suo fortunato primato.
Ad Ivan va il nostro benvenuto al mondo, alla mamma i complimenti per l'impresa non da poco e al papà un abbraccio affettuoso in attesa di un sigaro cubano e caviale e vodka!
Un salto nel mondo di Fedora 16 II : La vendetta (di Fedora)
Questo è un articolo di approfondimento di quest'altro: Un salto nel mondo di Fedora 16 e descrive alcune impressioni più approfonditamente, anche se rimane un primo impatto. Quanto dirò qui sicuramente non troverà tutti d'accordo, ma quando si decide di cambiare il sistema operativo - che rimane la parte più importante di tutto il software di un computer - le sensazioni, la prima impressione, il colpo di fulmine è anche lui importante.
Vediamo quindi un po' meglio cosa ci riserva Fedora 16.
Vediamo quindi un po' meglio cosa ci riserva Fedora 16.
Secondo incontro con Linux Fedora 16
Dopo che il primo tentativo descritto nel post precedente non mi aveva convinto del tutto, ho deciso da dare una seconda chance al nostro pupo, questo essenzialmente per due ragioni:
- è una versione più recente (Fedora 14 è del novembre 2010 e il supporto è terminato praticamente con dicembre 2011) e
- questa sarà la strada del futuro: ormai è Gnome 3 che sarà implementato su tutte le future versioni e non più la famosa Gnome2.
![]() |
| Le grand Bleu! |
Prezzo carburanti in Svizzera (2/1/2012)
Clicca qui per i prezzi più recenti
Su segnalazione dell'amico Francesco vi riportiamo un rapido aggiornamento prezzi carburanti nella Confederazione Elvetica. Il distributore immortalato nella foto nella zona di Chiasso è quello con il prezzo più basso, altri nella zona erano circa 1 o 2 centesimi di franco più cari.
I prezzi italiani sono riferiti ad un benzinaio particolarmente economico "bianco" in zona Buguggiate. Vi ricordo di seguire il nostro twitter @benzina_ticino per ricevere aggiornamenti lampo e soprattutto per inviarci le vostre segnalazioni. Non fate i timidi e seguite l'esempio di Francesco per condividere con gli altri pendolari del pieno le foto dei prezzi ai distributori.
Altri link utili:
Su segnalazione dell'amico Francesco vi riportiamo un rapido aggiornamento prezzi carburanti nella Confederazione Elvetica. Il distributore immortalato nella foto nella zona di Chiasso è quello con il prezzo più basso, altri nella zona erano circa 1 o 2 centesimi di franco più cari.
| In Italia | In Svizzera | |
| Benzina verde al litro | € 1.655 | CHF 1.73 = € 1.424 |
| Gasolio al litro | € 1.630 | CHF 1.91 = € 1.573 |
I prezzi italiani sono riferiti ad un benzinaio particolarmente economico "bianco" in zona Buguggiate. Vi ricordo di seguire il nostro twitter @benzina_ticino per ricevere aggiornamenti lampo e soprattutto per inviarci le vostre segnalazioni. Non fate i timidi e seguite l'esempio di Francesco per condividere con gli altri pendolari del pieno le foto dei prezzi ai distributori.
Altri link utili:
- Calcola il tuo risparmio
- Come cambia la carta sconto: la carta regionale dei servizi
- Fasce di sconto
- Elenco comuni carta sconto benzina
- Archivio storico prezzi carburanti aggiornato quotidianamente
- News feed per i soli aggiornamenti della benzina elvetica
- Ricevi un email con il prossimo aggiornamento
Iscriviti a:
Post (Atom)






