PySpark -> Python + Spark = ❤️🐍

As i was playing around with Spark on my macbook for a school project, i decided i didn’t want to use the version our professor gave us, which was a Java project, and had to be coded in Scala, language i’m not really familiar with.

I love python, really, and as i knew Spark supported python i decided to give a look at what options i had to install and run it for testing and analysis of small datasets on my macbook.

So… For my reference when i’ll inevitably reinstall it and will forget the steps, and for you, who are presumably looking to install spark and use it within python, here’s how i did it!

Leggi tutto “PySpark -> Python + Spark = ❤️🐍”

Homelabbing with Hyper-V (Part 1) – HandsOn

It’s been a while since i started playing with Hyper-V and even more since I was introduced to the virtualization world.
I started around 8 years back when i wanted to give a second try to the Linux world but without risking destroying the main partition of a production laptop while installing the system (To my past self: Use the whole disk means “The WHOLE disk”). Thanks to VirtualBox I managed to get Linux installed and get immersed in that new world. Since then i installed, reinstalled, rereinstalled etc… plenty of different distros, from Ubuntu to Kali to the forensics oriented CAINE Leggi tutto “Homelabbing with Hyper-V (Part 1) – HandsOn”

Apertura Alptransit – Un problema per gli studenti ticinesi… ma anche no.

Ho letto oggi il comunicato del SISA sul cambiamento degli orari dei treni in vigore dall’11.12.’16, in seguito all’apertura di alptransit.
Ho quindi scritto direttamente al SISA chiedendo chiarimenti, e riporto qui di seguito le riflessioni fatte nella mail a loro indirizzata.
Leggi tutto “Apertura Alptransit – Un problema per gli studenti ticinesi… ma anche no.”