PayPal SEPA o no

visto: https://cms.paypal.com/it/cgi-bin/?cmd=_render-content&content_ID=ua/upcoming_policies_full&locale.x=it_IT SEPA (Single Euro Payment Area) a parte, le tariffe sulle transazioni paypal sono differenti nel caso i fondi provengano da carta di credito, e nel caso provengano da trasferimento bancario. Me ne accorgo solamente ora. Negli e-commerce siamo abituati ad aggiungere una riga per le tasse, nel caso il cliente scelga di pagare […]

Runyourjs drupal module

Done, as said in http://www.smartango.com/blog/upload-javascript-attachment-drupal-entity-and-run-it-and-what-it-munge, I created a sandbox project: https://drupal.org/sandbox/smartango/2034907 I attach here an archive as git archive –prefix=runyourjs/ HEAD |gzip – > ../runyourjs.tar.gz I have wrote this for my personal use, if you found it useful, share and give feedback (in drupal). Thanks post by smartango.com.   p.s.: of course filename is protected ๐Ÿ™‚

Commissione europea e open standard … source … cosa?

Punto informatico (http://punto-informatico.it/3839217/PI/News/ue-open-che-fa-risparmiare.aspx) and theinquirer.net (http://www.theinquirer.net/inquirer/news/2277311/european-commission-foresees-eur11bn-savings-from-open-standards) talks about an direction approved by European Commission on adoption of open standars, then later, they use open source, as synonimous. Some time ago I had an argue in linkedin during which I sustained that public administration should adopt opensource software because it is open and cheap, a microsoft supporter […]

Unesco World Heritage List

Ok, following https://mapping.withgoogle.com/course I can not find a good export of unesco world heritage sites, interested in Italy. first step is to download xml format (http://whc.unesco.org/en/list/xml/), use an online service to translate to csv (http://xmlgrid.net/xml2text.html), save it (download), then transform from dos to unix, import in libreoffice calc (google docs does not work), saved as ods format, […]

(PHP) CurlParallel around the world

About the project: https://github.com/danielecr/CurlParallel Selfing on the net this morning I discovered at least another interesting implementation of parallel fetch of network resource via PHP curl, that is https://github.com/dulao5/parallel-curl of https://github.com/dulao5, and is older than the one I take as starting point. Also that solution put focus on tasks to be managed not in curl by itself, thus giving more […]

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 […]

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 […]

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 […]