Recent Posts
Spark Shell + S3 + MySQL
Awhile ago I was tasked to generate some reports where data could come from different sources. To be exact one data set lives in Redshift, another resides on AWS S3 and all metadata is retained in MySQL. I read few articles about Spark and this time I thought Spark would be a great tool. Especially when I realized I couldn’t replicate data from MySQL to Redshift.
So before actually coding anything I needed to play with Spark.
read more
My First Post On Hugo
I have moved to Hugo! It’s been awhile I posted anything although I had few drafts saved and waiting. But I am tired of maintaining Wordpress and paying extra money to Amazon :) And also those annoying comments from bots! Even Google Capture doesn’t help to get rid of them! So now I am hosting myself and Hugo is my tool to blog!
How I did that Install Hugo Firstly I installed Hugo and went through their Quick Start guide which basically is going to be your first blog post.
read more
Python Crash Course: Learning Log
I have finished Python Crash Course book recently. And especially liked its second part with real projects. Book content is a little bit out-dated (2015), so I decided to post some notes about making Learning Log web application code to work with Django 2.x.
Foreign Keys The very first issue is that in Django 2.x you must specify on_delete rule. You’ll get it during Entry creation class. Any time you create ForeignKey don’t forget to specify on_delete parameter, for example:
read more