Category: Software

  • Twitter Insecure by Design

    It happens I have a new identity … no, someone has my credential or such for using my twitter account. Twitter does not reply, there is no team that can fix it. Problem with twitter is that it is insecure by design. You indicate an email address and confirm it, at registation time, or whenever…

  • 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…

  • Upload a javascript as attachment to drupal entity (and run it) … and what is it munge?

    I am in the need to attach javascript code to my content for tech blog purpose, and give capability to run it by visitors. Do you think there are security concerns? Me no. PHP filter is there in Drupal core from the begin, and it was not a security concern, unless you give permission to…

  • 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…

  • Debugging Javascript worker (and jQuery & workers howto)

    Even if I finally found Web workers:error and debugging article that explains it well and exensively, I just had to report that developing with Firefox is still the right choice in most case. What happen in Chromium if you try to importScripts() jQuery? Simple: no error message. The problem is that jquery refer to window object…

  • 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…