E adesso come faccio?

Certi momenti capitano a tutti: chiedi il conto al ristorante, metti la mano in tasca e ti accorgi di aver lasciato soldi e carta a casa. Altro scenario: atterri in un paese straniero e aspetti la valigia finchè realizzi di essere l’ultimo passeggero rimasto intorno al nastro ma il tuo bagaglio non è mai comparso. Il primo istante in cui realizzi di essere fuori dalla usuale comfort zone si traduce solitamente in un brivido che sale lungo la schiena allertando tutti i sensi e sollevando la disperata domanda: e Adesso Come Faccio? (da qui in poi ACCF)

Read more

Convert Longitude-Latitude to a flat map using Python and PostGIS

I’ve recently had to develop a web app that shows Tweets locations on a map. It’s simple enough to extract a tweet’s location (when present), just check the API Docs for a Tweet object and you’ll find a coordinates field that reportedly:

Read more

Moving my website to Github

I’m moving all my content out of my previous Wordpress to host it on github pages with Jekyll. Everything is still a bit broken, but all the content is here. I don’t intend to spend time setting up 301 codes for the few posts I have on my old blog, but hopefully the permalink structure should be the same. If you happen to search anything in particular and cannot find it, please contact me via a twitter mention @grudelsud

Read more