Sending command to an Anet A8 3d printer by the serial port with python

Since last year I have an Anet A8, a 3d printer received from China as a kit and that I use as you can expect to print 3d models and experiment with this technology.

Attach images to a Django model without using database backed fields

Let’s start with a model that has a field where an image will be uploaded; this image will be manipulated with some library (for example pillow) in order to obtain, for example, a thumbnail: the first example I’m going to show is using imagekit

Control a SIGLENT oscilloscope with Python

I’m an happy owner of a SIGLENT SDS1102CML, a entry level digital oscilloscope with which I experiment when I do electronics.

Modern cryptography: exercises chapter 2

These are some solved exercises of chapter 2 of the book “Introduction to modern cryptography” by Jonathan Katz and Yehuda Lindell.

Implementing VGA interface with verilog

VGA stands for Video graphics array and it’s one of the most diffuse standard for video transmission; it roots its definition from the way old catodic tubes work: the image is constructed one lines at times, starting from the top and each line is displayed from the left to the right (by the way this is the reason for the Y axes orientation in graphics programming); physically this is done by an electron beam guided from some electromagnets internal to the screen that hit the pixels (?).