A hidden gem: inner_product

Growing up

I know, it’s been a while since the last time I published something on my blog. The main reason is that in my spare time – apart from private life – I’ve been committed to organize events and activities in Italy and also to work on a personal project with a great friend of mine. Anyway, I found some time to share a new blog post I hope you will like.

This article is also part of my series C++ in Competitive Programming.

In the very first installment of this series, I showed an example whose solution amazed some people. Let me recall the problem: we have to find the minimum difference between any two elements in a sorted sequence of numbers. For example:

The minimum difference is 10, that is 20-10. Any other combination is greater. Then, I showed an unrolled solution for such problem (not…

View original post 1,667 more words

The Valley of Shit

The Thesis Whisperer

I have a friend, let’s call him Dave, who is doing his PhD at the moment.

I admire Dave for several reasons. Although he is a full time academic with a young family, Dave talks about his PhD as just one job among many. Rather than moan about not having enough time, Dave looks for creative time management solutions. Despite the numerous demands on him, Dave is a generous colleague. He willingly listens to my work problems over coffee and always has an interesting suggestion or two. His resolute cheerfulness and ‘can do’ attitude is an antidote to the culture of complaint which seems, at times, to pervade academia.

I was therefore surprised when, for no apparent reason, Dave started talking negatively about his PhD and his ability to finish on time. All of a sudden he seemed to lose confidencein himself, his topic and the quality of…

View original post 920 more words

$20,000 in 10 months from two small games, how? and what next?

Coffee Induced Games

Between January 2017 and November 2017, I have made a little over $20,000 in advertising revenue alone from two small mobile games on the Android App Store – Google Play

Admob income Nov 2016 - Nov 2017 Proof of income to back up my claims

Up until now, I’ve been writing small simple Android games as a hobby, but now it’s getting serious…

If you’ve have told me a year ago, that I’d be writing this article today, I’d think you were joking around. At that point, my total earnings on the Google Play store, amounted to $43.75, if it hadn’t been for some extra income from my YouTube channel showing simple games programming tutorials, I’d have never of received any money from Google up until that point. But as of the time of writing, I’ve earned just over $23,000 in the last year, all from just two games:

Invaders

An pretty simple Space Invaders clone I…

View original post 962 more words