Posts tagged "software"

The All-Seeing Pi

This post is a about vision enhancement platform called The All-Seeing Pi that I have been working on with my friend Dan, who is blind. People who are blind rarely have no vision at all though, and in Dan's case, he still has a little bit of sight in one...

Markov Chains: The Imitation Game

In this post we're going to build a Markov Chain to generate some realistic sounding sentences impersonating a source text. This is one of my favourite computer science examples because the concept is so absurdly simple and and the payoff is large. This will be done using python, and your...

DIY Smart Mirror ft. Alexa

Materials 1. Computer Monitor. Buy used and look for cable inputs that point down or sideways instead of straight out. 22" recommended (I used Acer AL2216 ) 2. Video cable. Whatever fits your monitor (I used HDMI to DVI adapter) 3. Raspberry Pi 3, 16GB Micro SD Card, 5V Micro...

From the Vault: PICHEC Raspberry Pi Cluster

I want to document this project, as it is one of my favourite projects to date. This took place about 4 years ago while I was working at the Irish Centre for High End Computing (ICHEC). One of ICHEC's projects at the time was creating demonstration for the BT Young...

Raspberry Pi Bot Server

My trusty RPi3 twitter bot server "starkiller". So let's say you've got a twitter bot that you want running 24/7, but you don't want it running on your personal system. What you need here is a server, which is really just a dedicated system. Note, if you're looking for a...

Intro to Python: Hello World! (Part 1 /2)

Many of the projects on this site use a programming language called python. Python is a great language for beginners, because it is designed to be very readable, but it's also very powerful. It is powerful because there are a lot of powerful libraries and APIs that are easy to...

Intro to Python: Containers, Functions, and Loops (Part 2 /2)

This is the second post in a series. If you're just getting started, see Part 1. In the previous post, you got python installed, and ran a simple program. In this section we will use some language features to store data, and re-use code. These are important concepts for all...

Python N-body Orbit Simulation

Do you ever find yourself thinking "I wish I could do more recreational physics"? If so, today is your lucky day! We're going simulate our very own solar system. At the end of this tutorial, you should be able to define a hypothetical gravitational system, and graph the paths of...

Reddit Data Mining with Python: Are Canadians Really Sorry?

Internationally, Canadians have a reputation for being a sorry lot. In fact, we've even passed a law called "The Apology Act" stating that saying "sorry" does not count as an admission of guilt. A very sensible law indeed. Is this stereotype true? We're going to test it in this tutorial,...

Simple Python Twitter Bot

Twitter Bots Twitter has some amazing bot personalities; from celebrity impersonators, to genuinely useful automated announcements. It is also probably the first place anyone was exposed to bots and interacted with them. Some of my favourites are BIGBEN and CaptainMarkov. It is also very easy to make a simple bot,...

Vice City: Python Automated Sports Betting

Automated Sports Betting Everyone knows gambling is a great way to make money (/s). I myself formed this conclusion after hearing bookies will sometimes pay out before an event even happens, which planted a betting strategy in my mind that required a bot. This very successfully and slowly lost me...