How To Teach A Young Kid To Play Chess

Posted by Miguel Grinberg under Games, Reviews.

My eight year old son has been asking me to teach him how to play chess for several months. I honestly avoided it because I worried that he was too young to learn, I did not want him to become frustrated with the game before he was able to memorize all the rules for how the pieces move and actually play.

Well, he couldn't take it anymore and yesterday (his first day of summer vacation) he cornered me and made me promise I was going to teach him.

Writing a Javascript REST client

Last month I published an article on writing RESTful web services in Python, in which I developed a small web service.

Today I'm putting my "front-end" hat to show you how to write a Javascript client application that uses the Python service.

8 comments

Stream Video from the Raspberry Pi Camera to Web Browsers, Even on iOS and Android

I've been excited about the Raspberry Pi Camera Module since it was announced last year, so I went and ordered one from Element14 as soon as it came on sale.

I have a few ideas for cool things to build with this camera and I will be blogging about them as I get to develop them. Today, I will show you how to transform the Raspberry Pi into a webcam server. You will be able to watch the video stream from the camera on any device that has a web browser. And yes, this includes the iPad/iPhone and Android devices!

16 comments

Designing a RESTful API with Python and Flask

In recent years REST (REpresentational State Transfer) has emerged as the standard architectural design for web services and web APIs.

In this article I'm going to show you how easy it is to create a RESTful web service using Python and the Flask microframework.

15 comments

Take 3D Pictures With Your Canon DSLR and Magic Lantern

Posted by Miguel Grinberg under Photography.

In this article I'm going to show you how you can make high quality 3D pictures with a Canon DSLR, Magic Lantern and free software. If you have an old pair of cardboard red/blue 3D glasses at hand then put them on to view the image above and that will give you an idea of what you can do with the technique I'll show below. You can click on the image to view a larger version of it.

3 comments

The Flask Mega-Tutorial, Part XVIII: Deployment on the Heroku Cloud

This is the eighteenth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

The goal of the tutorial series is to develop a decently featured microblogging application that demonstrating total lack of originality I have decided to call microblog.

15 comments

The Flask Mega-Tutorial, Part XVII: Deployment on Linux (even on the Raspberry Pi!)

This is the seventeenth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

The goal of the tutorial series is to develop a decently featured microblogging application that demonstrating total lack of originality I have decided to call microblog.

Building an Arduino Robot, Part VI: Remote Control

Arduino Robot

Welcome to the sixth article in the tutorial series in which I'm building a remote controlled Arduino based vehicle robot.

18 comments

A cheap Bluetooth serial port for your Raspberry Pi

Posted by Miguel Grinberg under Raspberry Pi.

Raspberry Pi Bluetooth

While working on my Arduino based robot vehicle project the idea came to me that the Bluetooth module that I'm using as a remote control receiver for my robot would make a great addition to my Raspberry Pi.

In this article I describe how to enable the Raspberry Pi's serial port to talk to other devices over Bluetooth using this module.

13 comments

The Flask Mega-Tutorial, Part XVI: Debugging, Testing and Profiling

This is the sixteenth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

The goal of the tutorial series is to develop a decently featured microblogging application that demonstrating total lack of originality I have decided to call microblog.

22 comments