The Python meetup gang
I love Python. It is easily my favourite programming language, so I decided to organise a meetup to teach and have a play with it along with some of my AL colleagues.
Python is an interpreted programming language that comes bundled with almost all modern Unix-like operating systems (Mac OS, Linux etc). Its English-like syntax makes it easy to pick up and understand but it’s depth and object-oriented nature (in the form of classes) make it also suited to more complex programs than something like Bash.
A very pixelated Flappy Bird implementation
I decided to implement a game, Flappy Bird which was an old iPhone game some time ago, in this first meetup. Using a single-board computer called a Raspberry Pi and a supporting piece of hardware called a Sense Hat. The Raspberry PI foundation produces both these and also supports the use of python as their main programming language of choice.
This meetup also gave me the opportunity to introduce the idea of writing code for hardware applications, something that our cloud-based engineers rarely work on. This platform also has online simulators, so rather than us all crowding around on one machine to write code we could develop code on the simulator and then run it on the hardware.
Sense Hat simulator allowing for development without actual hardware
So, after demonstrating how the game works (press up on the built-in directional pad and don’t hit the red pipes), I went through the code line by line to explain how the program worked.
Although there were engineers with differing levels of python experience the code was straightforward enough to be understood. After the explanation, it was then up to the engineers to implement their own games using the code that I’d provided them.
One of the flappy bird alternatives with a different colour scheme
These varied from giving the birds extra ammunition, to changing the game physics, one engineer even implemented Conway’s Game of Life.
I would definitely recommend other engineers organise meetups. Even if you don’t have a lot of experience in a particular language/technology, you can go through and learn the language together or pair with less experienced people.
We work with our clients to de-risk and accelerate their business goals realisation. Our approach is based on tailoring our services to fit your needs leveraging our portfolio of strategy, execution, innovation and service delivery offerings to help you reach your objectives
We’re always on the lookout for exceptional talent and people who share our values. Even as we continue to grow, we maintain a family environment with respect and teamwork core to our culture.
Piotr Grześkowiak has been at Automation Logic for just over five years, starting out in our DevOps Academy after graduating in Computer Science with Information Security. During those 5 years, he’s gone from an engineer in training to a well respected senior engineer, trusted by the whole company. Piotr’s been on three Central Government client […]
We interviewed AL’s co-founders Kris & Norm about their journey building Automation Logic into the business it is over the last 12 years. From the values they’ve set in place, to the struggles they’ve faced. And obviously, because it’s pretty difficult not to mention it these days, the impact covid had.
A memoir of a Workload Migration engineer by Liam Rae-McLauchlan We’ve all read the blogs and articles about migrating to the Cloud and its benefits, but in practice it can be a daunting task. Maybe your organisation is planning to move to the cloud, or is already trying – up to 85% of enterprises are […]