Consigli SEO per javascripter: Se ‘o sai è meglio. (ricapitoliamo)

What does is indexed by search engines? Of course the static pages are, but what about javascript originated content (i.e. AJAX)? By the end of 2011 Google indexs comments loaded via AJAX (i.e. Facebook, Disqus, …). https://developers.google.com/webmasters/ajax-crawling/docs/specification this is the last specs, that means (reading https://developers.google.com/webmasters/ajax-crawling/docs/html-snapshot) that the web server must provide a snapshot of the requested […]

Read More…

following coursera courses

I am updating my knowledge by following some courses on coursera.org, that is: https://www.coursera.org/course/compneuro (computational neuroscience) and https://www.coursera.org/course/eqp (exploring quantum physics). I found both require that kind of math called statistic, or something like that, and summing vector of values, multidimensional calculus … very interesting and mind opening. I would endorse these courses because they make me feel really […]

Read More…

Parallelize PHP script (continued)

The adventure continues.. Some more commits to repository in https://github.com/danielecr/CurlParallel, the goal is to parallelize a php application as much as possible in the task of network I/O concerns. This is the test class in the rep:   require_once “sender.class.php”; class TestCurl implements iSenderConsumer { private $url_list = array(); public function __construct(Sender $sender) { // read […]

Read More…

Homebrew spam: una di quelle cose che passano inosservate

Mi arriva una email: Buongiorno, sono Rinco Simplicio e vivo in provincia di Smaragnao. La contatto perché mi occupo di aggiornare i siti internet e comunicare le iniziative che riguardano il lavoro della mia famiglia, quello che noi chiamiamo “Il mondo dei Cretini”. Una piccola presentazione delle nostre varie attività è presente a questo indirizzo http://www.rincosimplicio.com. Il motivo […]

Read More…

OpenDataDay Marche

Questa mattina ore 10.20 circa. (arrivo in ritardo)  Si parla di opendata e come questo sia importante per la diffusione dei dati riguardanti l’offerta formativa, e le informazioni di carattere scientifico che le università devono e vogliono diffondere. In particolare sta parlando un rappresentante della università di Camerino, e sta parlando dei dati scientifici, come […]

Read More…

Step of api first methodology: a tag system

I refer to http://api-first.com/ . The idea is, after wrote the stories needed to define interaction, and thus functions, of the system we are going to implement, the next step is to define an api, then proceed with API definition, then implement backend, frontend, and cycle this way redefining stories (or adding), refining api, change frontend and […]

Read More…

3SUM algorithm tweak

http://en.wikipedia.org/wiki/3SUM this is the algorithm. I just thought that I can start from the middle, the rationale is that I have the work done not to be due. I wrote down the value of an example and try to iterate on the outer cycle starting from middle (max value + min value) then down to the […]

Read More…

Solved my problem with knockout

Using a model with nested observable array I did not know how to refer to self in a event handler (click) on a element in a cycle on that observableArray … function subObject(data,index) { var self = this; self._index = index; // … } function MyWholeModel() { var self = this; self.subObjects = ko.observableArray([]); self.currentSubobj […]

Read More…