Entrepreneurship, product management, design & software.
-
Beginning Data Science
I just started studying Data Science. These are some links that could be useful. For those who start What is Data Science This is a good wrap-up by Mike Loukides, who answers the question: “What is Data Science?”. From data sources to Big Data, from Statistics to data analysis, Loukides draws an overall picture about…
-
Modificare l’ora di un campo DATETIME in MySQL
A volte capita di lavorare su codice che non è possibile modificare e quindi dover fare i salti mortali per ottenere quella che in realtà è una cosa semplicissima. Nello specifico avevo bisogno di modificare un campo DATE di una tabella in un campo DATETIME, dato che per l’applicazione era necessario memorizzare anche l’ora precisa…
-
Obblighi
Quando uno ha sonno è sempre il momento di mangiare Prima legge del sonno canino.
-
Set up a Vagrant machine for Grails development
Recently I’ve tried several times to integrate Vagrant in my development flow, without success. So, now that I have to start Grails development I decided to setup a development environment first. I used Vagrant with Virtualbox and Puppet for provisioning. For the impatient, you can clone this repo and go with vagrant up to get…
-
Un Napoletano in Sicilia – un mese dopo
Eccoci qui dopo un mese. Seguendo le linee guida della Piramide Inversa (grazie Carlo) inizio dalla notizia più importante in modo che, se sei di fretta, non ti perda il succo del post. Mi sono trasferito un mese fa in Sicilia. Sto bene, non mi manca nulla, non sono dimagrito (anzi) e non lavoro troppo.…
-
Cosa ho imparato nelle ultime settimane?
Che cosa ho imparato nelle ultime settimane? Che gli altri non possono conoscere le tue intenzioni, se non le espliciti. “È così, ma in realtà pensavo di…” non esiste. Esiste solo quello che è evidente e alla luce del sole. Che non importa quanto studi e quanto sai: la realtà è spesso (più spesso di…
-
‘a muntagna
-
Multiple Sum with different conditions in MySQL
Today I was working on my last project that involves some statistics on data. I had a table like this: I needed the daily, monthly and yearly sum of the value field. The simplest approach was to have three different queries to retrieve the needed values: –day SELECT SUM(value) FROM table WHERE DATE(time)=CURDATE(); — month…
-
Git Tip: show modified files between two commits
If you need the list of files that were modified between a commit and the latest one you can use git diff with the –name-only parameter: git diff –name-only 360c150 HEAD You can use the same command to show the modified files between two commits. Just replace HEAD with a commit hash: git diff –name-only…
-
A quote by Donald Knuth
I think you get more prestige by doing good Science, than by doing popular Science. Source
Got any book recommendations?