Blog Archives

New chapters, old chapters

April 14, 2016
By

It’s been almost an year since my last post. As usual a lot of stuff happened. On the personal side my daughter is growing and making me a delighted father (she just started mumbling some words, I think this helps being so happy) On the professional side I quit my job as a PM...

Read more »

Fast ETL with GOlang mongo and elasticsearch

June 30, 2015
By

I recently had the chance to write an ETL to import data from mogno into elasticsearch, to then show some graphics through kibana I must say I found golang to be a very handy tool: blazing fast execution, quite easy to write. The etl had to retrieve records from a time based series stored...

Read more »

Android NDK and building in Android Studio

March 8, 2015
By

I’m picking up the NDK again after a long hiatus I don’t want to use eclipse so I’m sticking with Android Studio Too bad this means no NDK support, at least not right now The good news is that you can easily use Android Studio for the Java parts and call the ndk build...

Read more »

Reset Ubuntu USB3 without rebooting

March 1, 2015
By

On Ubuntu sometimes wakeup from suspend “forgets” to wake up some pieces Last time it happened it was the usb3 system In order to reactivate it I had to do the following: lspci | grep USB ... 03:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 01) ... ls -la /sys/bus/pci/drivers/xhci_hcd/ .......

Read more »

(Italiano) Apache (o del perché non faccio il sistemista)

September 22, 2014
By

Scoperta di questa sera: Mi viene l’idea di buttare qualcosa nel blog ed ecco che non accedo via ssl Ma come? Il certificato è valido, la macchina è su, cosa può essere successo? Gira che ti rigira scopro la novità di apache: Nella definizione dei vhost ssl bisogna definire: SSLStrictSNIVHostCheck off NameVirtualHost *:443 Oppure...

Read more »

Behat, login and fixtures

January 30, 2014
By

I want to use behat for some of the  testing of a new project and I  found a thing that’s not so easy to implement: actual login without a registration form The project right now doesn’t have a proper registration form, so I cannot use the registration process, also I don’t want to be...

Read more »

Code coverage and libraries

January 15, 2014
By

Phpstorm defaults to computing code coverage reports for unit tests, bbut this can become an issue if you use big third party libraries. The solution is simple and is to blacklist library files in phpunit configuration You need to pay attention to a detail though: whitelist block (if present) overrides the blacklist one in...

Read more »

CommentSpam ByeBye (The hard way)

September 18, 2013
By

CommentSpam is one of the major flaws of wordpress as a platform Too bad you cannot do much about it since a bot-generated POST is basically valid After trying various useless solutions I resolved for going the hard way: I retrieve all the POSTS to wp-comments.php from the Apache logs, get the originating IP,...

Read more »

SOCOMEC NETYS Ups and Gentoo

August 9, 2013
By

Sorry, this entry is only available in Italian.

Read more »