By Carlo on 2010-06-07
I’ve written a short PHP script that outputs what I call “the Google spelling” :) a 26 words list of the most frequent words/phrases taken from Google Suggest.
You can also pass the language to it, so the today’s (2010-06-07) English list is
- amazon
- bank of america
- craigslist
- dictionary
- ebay
- facebook
- gmail
- hotmail
- imdb
- jet blue
- kohls
- lowes
- myspace
- netflix
- orbitz
- pandora
- quotes
- realtor.com
- southwest airlines
- target
- usps
- verizon wireless
- walmart
- xm radio
- youtube
- zillow
while the today’s (2010-06-07) Italian list is
- alice mail
- badoo.com
- corriere della sera
- dizionario italiano
- ebay
- facebook
- google maps
- hotmail
- ikea
- justin tv
- kijiji
- libero
- meteo
- netlog
- oroscopo
- pagine bianche
- quattroruote
- ryanair
- subito.it
- trenitalia
- unicredit
- virgilio
- wikipedia
- xscores
- youtube
- zara
Credits: Rajamanickam Antonimuthu and Brad Dierking.
Posted in English | Tagged Google, PHP, trivial hacks |
By Carlo on 2010-05-20
The HP Compaq LA2405wg is a 24” TFT monitor that works at 1900×1200: I use it as the external monitor of my new notebook (ASUS UL30A). Ubuntu 10.04 Lucid doesn’t have a xorg.conf file: it tried to get the correct resolution on the fly but it wasn’t able to guess the right resolution for the HP monitor. The following commands were helpful to set it up properly.
~$ gtf 1920 1200 60 # which output was
1920x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 193.16 MHz Modeline "1920x1200_60.00" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
~$ xrandr # to get the output name (which was VGA1 in my case)
~$ xrandr --newmode "1920x1200_60.00" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
~$ xrandr --addmode VGA1 "1920x1200_60.00"
~$ xrandr --output VGA1 --mode "1920x1200_60.00"
Posted in English | Tagged free software, HP, Ubuntu, xorg |
By Carlo on 2010-05-13
This is just a short reminder for me and a note for you: it seems that jQuery Datepicker is not able to handle Date object as a value for minDate or maxDate parameters, at least when the jQuery object is called in the constructor of a ZendX_JQuery_Form_Element_DatePicker object: strings like '-1' work fine, though.
Posted in English | Tagged jQuery, Zend Framework |
By Carlo on 2010-05-03
My doubts are gone and it’s clear to me that I’ve got a problem with violence and, more generally, with strong emotions: I’m not sure if the recent birth of my son is connected to it, still it’s a few months that I haven’t been able to watch movies anymore (how could I find a good one without a bit of violence in it?). As I wrote, my doubts disappeared while reading Drown, a ten story anthology of Junot Díaz, a Dominican-American writer. In the first of them, a boy smashes a glass bottle on the head of another kid: for our “modern” standards, that’s even not so remarkable! :) Well, I’ve spent the rest of the afternoon thinking about it.
However, Dìaz is widely known as a gifted writer with an original prose and a sad humor: perhaps the short story I liked most is “How to Date a Browngirl, Blackgirl, Whitegirl, or Halfie”; half a weekend is enough to read the whole thing.
Posted in English | Tagged Reviews, scratches |
By Carlo on 2010-04-26
I’ve just read Alice’s Adventures in Wonderland: I downloaded it from Project Gutenberg and printed it on a few sheets: perhaps it’s the cheapest way to get such a classic of the English literature, plenty of puns of all sorts, indeed! Give Project Gutenberg a try.
Posted in English | Tagged Reviews, scratches |
By Carlo on 2010-04-14
This is my 15th year in ICT business: still, I have many, perhaps too many, things to learn. 97 Things Every Programmer Should Know is a book that collects words of wisdom from experts of our field and reading their experiences brings to my mind quite a number of past working events. Complexity, hard work and challenging problems are hiding in the background of these 97 short stories. I learnt from them something useful I should add to my professional tool bag. Of course I won’t tell you which of the 97 hints I’d better follow during my next project: read the book and discover by yourself the ones that suit you most. :)
Posted in English | Tagged Reviews, scratches |
By Carlo on 2010-04-06
I’ve never read Ferlinghetti‘s recent poems before: my knowledge of his work was limited to a few writings collected in a well known anthology edited by Fernanda Pivano during the 60′s. His understanding of growth surprised me even more than his mastery as a poet; then, having read “Blind Poet” (translated with English text on the left), I’ve just started his masterpiece “A Coney Island of the Mind“, one of the most read poetry books of the last Century.
Posted in English | Tagged Reviews, scratches |
By Carlo on 2010-03-10
A bilingual stammering.
(English)
Layers of memoirs as vanished civilizations. An epoch vanished in a late winter sea.

(Italian)
Strati di ricordi come civiltà scomparse. Scomparse un’epoca nel mare di un tardo inverno.
Posted in English, Italiano | Tagged sea |
By Carlo on 2010-03-08
Ho sempre pensato che il mio setto nasale, leggermente deviato, si fosse semplicemente sviluppato così: è bastata una visita otorinolaringoiatrica per scoprire, all’alba dei trentasei anni, i segni di un ignoto trauma osseo… nessun rapimento alieno – al massimo qualche colpo da ragazzo – ma il mistero resterà per sempre. :)
Posted in Italiano |
By Carlo on 2010-03-02
While last month TIOBE elected Go “language of the year for 2009″, I noticed that, according to their data, only the following languages of the top ten have a positive trend in the long period (2002 – 2009):
- PHP;
- C#;
- Python;
- JavaScript.
Posted in English | Tagged scratches, TPCI |